Merge old heads on Try repo

RESOLVED FIXED

Status

Developer Services
Mercurial: hg.mozilla.org
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: gps, Assigned: gps)

Tracking

(Blocks: 1 bug)

Details

(Assignee)

Description

2 years ago
The Try repo has been getting pretty slow lately due to the number of heads.

It is time to merge old heads.
(Assignee)

Updated

2 years ago
Keywords: leave-open
(Assignee)

Comment 1

2 years ago
I forgot to link https://hg.mozilla.org/hgcustom/version-control-tools/rev/ca7652d53ca4 to this bug. I documented the procedure I use for merging Try heads.
Keywords: leave-open
(Assignee)

Comment 2

2 years ago
I've pushed dummy merges for ~8000 heads so far. vcsreplicator@4.service logs show that replication times for normal pushes have dropped by ~10s so far. So it looks like this is working.

The manual shell loop to run `hg debugsetparents` is pretty slow, so it will take several more hours for it to complete. It would be faster as a Mercurial extension. But I have more important things to do this week than write a one-off extension.
(Assignee)

Comment 3

2 years ago
I pushed dummy merges for ~45,000 heads this morning. The Try repo now has ~3400 heads. IMO this is acceptable.
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.