1 Jun 2008 01:41
Re: Possible data corruption issue?
Karl Fogel <kfogel <at> red-bean.com>
2008-05-31 23:41:17 GMT
2008-05-31 23:41:17 GMT
[Search for "RC9" if you want to skip straight to the question of whether RC9 is needed. Material before that is discussion of the bug.] Karl Fogel <kfogel <at> red-bean.com> writes: > I've rethreaded this to get the words "data corruption" in the subject, > as it seems to be that kind of bug. As glasser pointed out in > > http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=139319 > Message-ID: <1ea387f60805282312v7f03d297w208cda44ba8ec438 <at> mail.gmail.com> > > in this thread, at the end of his repro recipe a file is left thinking > it's at r1 but has the r2 working content *and* r2 text-base. Even if > later we reliably check base-checksum on commit (thus preventing bad > file content from entering the repository), there may still be the > possibility of property corruption being committed... I haven't had > time to analyze it deeply enough to know one way or the other (hey, it's > 3am and I just saw this thread). > > If we can determine that there is no way for corruption to enter the > repository with this bug, then I think it's okay to fix this in 1.5.1. > Not ideal, but okay: a broken working copy is annoying, but it's not the > same as bad data. If there *is* a way, though, then we kind of have to > fix this in 1.5.0. Okay, I've had a chance to look into this more deeply. Below is a reproduction script demonstrating that you can take an r2 working file, run 'svn up -r1 --depth=empty', and then commit a text change to the file resulting in r3. Your new commit will be against r2, even though you thought you had r1 of the file. Ick.(Continue reading)
.
RSS Feed