-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Motivation: Some users/experiments have expressed an interest in making the Bulk service replicable. Modification: The necessary hooks have been added for leader/latch management. Because of the stateful semantics of the database, all physical instances must share a single database instance. Because of the way containers are managed in memory, it is preferable to have all DB insert and update activity, as well as cancellation and clearing (which involves the cache as well) to be done by the leader only. Hence, `submit` (< RESTful POST), `cancel` (< RESTful PATCH) and `clear` (< RESTful DELETE) messages are forwarded to the leader (whose address is obtained by injecting the HA leadership manager into the service). RESTful GET queries (`info`, `list`) are serviced by all physical instances. The `archiver` is also run exclusively by the leader. Result: Bulk is replicable. Target: master Request: 9.2 Patch: https://rb.dcache.org/r/14111/ Requires-notes: yes Requires-book: yes (cookbook paragraph provided) Acked-by: Lea
- Loading branch information
Showing
12 changed files
with
268 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.