Summary: | Storage failures when running with two instances and PG_LOCK=false | ||
---|---|---|---|
Product: | Orthanc | Reporter: | Sébastien Jodogne <s.jodogne> |
Component: | Plugin - PostgreSQL | Assignee: | Sébastien Jodogne <s.jodogne> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | --- | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All |
Description
Sébastien Jodogne
2020-06-29 15:16:03 CEST
[BitBucket user: Sébastien Jodogne] [BitBucket date: 2019-08-24.08:41:56] Please check out the following explanation: bug 121 => “When connecting multiple Orthanc to a single DB, there should only be one orthanc acting as a writer and all other orthanc instances acting as readers only. \[…\] You should set the option SaveJobs to false in the Orthanc configuration file \[in all the reader instances of Orthanc\].” This is due to the fact that Orthanc does not currently support the replay of database transactions \(to deal with write conflicts\). This requires a deep refactoring, for which we are looking funding from the industry. This is fixed by the following changeset, and will be part of forthcoming 4.0 release of the PostgreSQL plugins: https://hg.orthanc-server.com/orthanc-databases/rev/567761f0c1ea |