This is an archive of the discontinued Mercurial Phabricator instance.

revlog: fix a bug where transaction can be aborted partially

Authored by aalekseyev on Jan 20 2022, 9:09 AM.



Fix a repo corruption bug caused by a partial transaction rollback.

Diff Detail

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

Event Timeline

aalekseyev created this revision.Jan 20 2022, 9:09 AM
Alphare accepted this revision.Jan 20 2022, 9:43 AM
Alphare added a subscriber: Alphare.

That's rough, thanks for finding and fixing it.

I think it hasn't affected many users as you said because you need to have a transaction roll back during a split, which would only happen frequently in high intensity.

This revision is now accepted and ready to land.Jan 20 2022, 9:43 AM