Page MenuHomePhabricator

revlog: close the index file handle after the data one
ClosedPublic

Authored by marmoute on May 27 2021, 3:05 AM.

Details

Summary

This make sure the data file is flushed before the index. preventing the index
to reference unflushed data.

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

marmoute created this revision.May 27 2021, 3:05 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.