Record replication info when pushing

RESOLVED FIXED

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: gps, Assigned: gps)

Tracking

(Blocks: 1 bug)

Details

Attachments

(1 attachment)

(Assignee)

Description

3 years ago
Right now, replication during push to hg.mozilla.org happens transparently. I'd like to add an info message during the push to note that replication occurred. I'd also like to print the elapsed time, so people know that replication (not Mercurial) is a big source of slowness.
(Assignee)

Comment 1

3 years ago
Created attachment 8650628 [details]
MozReview Request: hgserver: convert replication hook to a Python hook (bug 1196869); r?fubar

hgserver: convert replication hook to a Python hook (bug 1196869); r?fubar

We want all hooks to be Python because, well, Python hooks are more
powerful.

As part of this, we have the hook print replication status, including
time taken to replicate. This will increase understanding of what takes
so long during pushes.

We change the names of the changegroup hooks to enforce sorting. And we
put URL printing after replication because it looks nicer.
Attachment #8650628 - Flags: review?(klibby)
Comment on attachment 8650628 [details]
MozReview Request: hgserver: convert replication hook to a Python hook (bug 1196869); r?fubar

https://reviewboard.mozilla.org/r/16653/#review14933

Ship It!
Attachment #8650628 - Flags: review?(klibby) → review+
(Assignee)

Comment 3

3 years ago
https://hg.mozilla.org/hgcustom/version-control-tools/rev/65c6c9b387b1a954194661e8745c062968224e4a
hgserver: convert replication hook to a Python hook (bug 1196869); r=fubar
(Assignee)

Comment 4

3 years ago
Deploying now.
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
(Assignee)

Updated

3 years ago
Blocks: 1196904
(Assignee)

Updated

3 years ago
Blocks: 1197462
You need to log in before you can comment on or make changes to this bug.