Page MenuHomePhabricator

streamclone: ensure the server sends the right amount of data
ClosedPublic

Authored by valentin.gatienbaron on Aug 1 2021, 10:59 AM.

Details

Summary

Otherwise, the client would fail with some confusing error. I have
seen an error which I think is this, perhaps due to a concurrent
revlog split, which streamclones do not handle correctly and would
result in a short read of the index of the revlog being split.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit accepted this revision.Aug 1 2021, 3:02 PM
This revision is now accepted and ready to land.Aug 1 2021, 3:02 PM
Alphare added a subscriber: Alphare.Aug 2 2021, 5:00 AM

@pulkit I think this would be a good contender for stable and should go in during the freeze.