--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/a98e45dd-02b4-4dac-9521-932b8792dfec%40googlegroups.com.
The database side might be fine but the Lucene search side will be out of sync?
--What was the outcome? We are also considering multiple servers with a single schema to execute an API upgrade.- Seth
On Tuesday, November 21, 2017 at 10:29:54 PM UTC-5, as...@yahoo.com wrote:I suspect the answer is yes but wanted to confirm. I will be deploying two separate Tomcat servers, each hosting a JPA Server, and would like to use the same PostgreSQL instance.
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/2bd3b336-e166-4a91-b329-582f358f83f4n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CADbgrcqvv-Xo-p_PccM1vh9EdCUwH9oaEvaLZC5NrfHxOdGWsA%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/b9c4db6a-fe6e-4ae3-94e4-0ab47a31faafn%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/CAKowd8krMGYsR8vVPPkCpz2-99edAOw4xorv9_40Wi4F1m15cQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/658d1839-2509-43f8-ac1d-ba6f46c10fb9n%40googlegroups.com.
Hi all,
I am evaluating HAPI FHIR JPA Starter in a clustered setup and would like to confirm that I understand the scheduling behavior correctly as the behaviour and code changed a lot since this thread was active.
Goal
I want to run HAPI in a cluster and control which nodes execute scheduled/background tasks.
What I found in the code (8.4.3)
From my current reading of the codebase, JpaStorageSettings#setSchedulingDisabled(boolean) (mapped to hapi.fhir.jpa.scheduling-disabled in the jpastarter project) does not appear to be a global scheduler switch.
What looks like the global scheduler disable mechanism seems to be the separate scheduling_disabled property/environment setting used in BaseSchedulerServiceImpl.
Also, JpaStorageSettings#isSchedulingDisabled() appears to be checked only in a limited number of task implementations. In the current code, I mainly found it in:
Thanks in advance for any clarification.