Skip to content

(chore) Site config updates - #445

Open
pirupius wants to merge 6 commits into
mainfrom
chore/site-config-updates
Open

(chore) Site config updates#445
pirupius wants to merge 6 commits into
mainfrom
chore/site-config-updates

Conversation

@pirupius

Copy link
Copy Markdown
Collaborator

Requirements

  • I included the JIRA issue key in all commit messages (e.g., LIME2-123)
  • I wrote or updated tests covering the changes (if applicable)
  • I updated documentation (if applicable)
  • I verified the feature/fix works as expected
  • I attached a video or screenshots showing the feature/fix working on DEV
  • I updated the JIRA issue comments, status to "PR Ready"
  • My work is ready for PR Review on DEV
  • My work includes tests or is validated by existing tests.

Summary

Screenshots

Related Issue

Other

…ners

Docker's default 10s stop timeout is not enough for Tomcat plus ~40
modules and the embedded ActiveMQ broker. A SIGKILL partway through
shutdown leaves a torn record in the KahaDB journal, and the next boot
fails in recoverProducerAudit with "Invalid location ...
NegativeArraySizeException".

Give openmrs 120s and mysql 60s. InnoDB recovers from a hard kill on its
own, but a clean stop avoids a long redo replay on the next start and
keeps the binlog tail intact for CDC.
The AutoCloseVisitsTask row was inserted directly into
scheduler_task_config by a per-site changeset in bunia, matsapha and
mosul. All three guard on the same task UUID, so the duplication served
no purpose beyond drift between sites.

In mosul the changeset was also mis-identified as
"unvoid_arabic_translations-202411271458" while carrying the auto-close
SQL, which made the site history misleading.

Existing deployments are unaffected - the changesets have already run
and the scheduler row persists. The visits.autoCloseVisitType global
property stays under initializer_config/globalproperties.
Auto-close only stopped OPD Visit, leaving every other visit type open
indefinitely. Extend the property to the visit types each site actually
uses:

  matsapha: OPD Visit, Facility Visit, Home Visit, Offline Visit, Group Session
  mosul:    OPD Visit, Home Visit, Telehealth

Bunia is left on OPD Visit only.
Drop @openmrs/esm-patient-task-list-app from modulesToRemove so the
frontend assembly keeps it in the Matsapha build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant