This is an archive of the discontinued Mercurial Phabricator instance.

journal: do not use atomictemp
ClosedPublic

Authored by quark on Aug 25 2017, 12:42 AM.

Details

Summary

Writing journal files using atomictemp leads to quadratic performance that
could be problematic if automation runs many commands. Other logs like
blackbox does not use atomictemp, and journal logs are not critical for repo
correctness. So let's make them non-atomictemp.

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

quark created this revision.Aug 25 2017, 12:42 AM
quark edited the summary of this revision. (Show Details)Aug 25 2017, 12:44 AM
yuja accepted this revision.Aug 25 2017, 10:34 AM
yuja added a subscriber: yuja.

Flagged as (issue5338) and queued, thanks.

This revision is now accepted and ready to land.Aug 25 2017, 10:34 AM
This revision was automatically updated to reflect the committed changes.