[Bug 6485] New: _enforceinlinesize would cause corruption if transaction is rolled back
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Feb 12 10:45:27 UTC 2021
https://bz.mercurial-scm.org/show_bug.cgi?id=6485
Bug ID: 6485
Summary: _enforceinlinesize would cause corruption if
transaction is rolled back
Product: Mercurial
Version: default branch
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: bug
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: rgomes at octobus.net
CC: mercurial-devel at mercurial-scm.org
Python Version: ---
I haven't looked for a way of triggering the bug, but I thought it would be
right to report it now that I've stumbled upon it.
Basically, if a revlog switches from being inline to being two separate index
and data files and the transaction rolls back and truncates the index file,
which has just been rewritten to be a pure index.
I intend on fixing this bug in a future patch of my sidedata exchange series,
but since I don't know exactly when I will have time, I'd be happy to let
someone else fix it.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list