Closed
Bug 1491149
Opened 7 years ago
Closed 7 years ago
Move "pushdataaggregator_groups" file to NFS share
Categories
(Developer Services :: Mercurial: hg.mozilla.org, enhancement)
Developer Services
Mercurial: hg.mozilla.org
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: sheehan, Assigned: sheehan)
Details
Attachments
(1 file)
No description provided.
| Assignee | ||
Comment 1•7 years ago
|
||
Sigh, accidentally pressed "enter" too early. Anyways...
From the version-control-tools docs: "On the SSH servers, the ``/etc/mercurial/pushdataaggregator_groups`` file lists all hgweb mirrors that must have acknowledged replication of a message before that message is re-published to ``replicatedpushdata`` Kafka topic." Essentially, once the hosts in this list have all acknowledged a message, we consider the data in the message "replicated" and expose it to the world via the "replicatedserved" repoview. However at this time, we only write the file out to the hgssh master server. This means our auto-failover write server (hgssh2) will not have access to this document in the event it comes online and takes over as the master server. We should move this file to the NFS mount, so both servers have access to it as needed.
| Assignee | ||
Comment 2•7 years ago
|
||
This commit changes the canonical path of the "pushdataaggregator_groups"
file from /etc/mercurial to /repo/hg. With this change, the
file is now on the shared NFS mount and is accessible by the
ssh failover server.
I have already copied the file to the new location, so this should
"just work" once we deploy the change. Then we will just need to
delete the old file.
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → sheehan
Status: NEW → ASSIGNED
Comment 3•7 years ago
|
||
Comment on attachment 9008909 [details]
vcsreplicator: move `pushdataaggregator_groups` from /etc/mercurial to /repo/hg (Bug 1491149) r?gps
Gregory Szorc [:gps] has approved the revision.
Attachment #9008909 -
Flags: review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/032af39324f5
vcsreplicator: move `pushdataaggregator_groups` from /etc/mercurial to /repo/hg r=gps
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•