This is an archive of the discontinued Mercurial Phabricator instance.

nodemap: add a test about nodemap "vacuum" during stream clone
ClosedPublic

Authored by marmoute on Apr 20 2021, 12:09 AM.

Details

Summary

When the nodemap "vacuum" it generate a new datafile, with a new unique name and
delete the old one. This confuse the stream clone code and create the same kind
of crash we were seeing in the previous patch.

We build a test case where this happens. The next changeset will contains a fix

We can also notice that we are, wrongfully exchanging undo.* files that the
client will not be able to use. This will be dealt with soon.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

marmoute created this revision.Apr 20 2021, 12:09 AM
Alphare accepted this revision.Apr 20 2021, 4:38 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
tests/test-persistent-nodemap.t
975

nit: s/happen/append/

marmoute added inline comments.Apr 20 2021, 4:55 AM
tests/test-persistent-nodemap.t
975

fixed (baymax refresh on the way)

baymax updated this revision to Diff 27089.Apr 20 2021, 5:20 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

Alphare accepted this revision.Apr 20 2021, 9:58 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.