[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: protorev file handling in svn_fs_commit_txn

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 26 Nov 2013 17:26:16 +0000

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

> Philip Martin wrote on Tue, Nov 26, 2013 at 16:52:38 +0000:
>> [ pointed out several problems ]
> I agree.
> It's still not clear to me how the repository you posted managed to get
> rep-cache.db to refer to the file rep at offset 0 --- a rep which isn't
> reachable from the root-node-offset at the end of the file. In your
> simulation of the failure, did commit_baton get re-initialized between
> the failed and successful commit_body() calls? I think in a normal
> situation it would be.

The failed commit and the successful commit were made by two separate
processes. The rep_cache offest points to the text representation at
the start of the file, not to either file node representation.

Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-11-26 18:27:43 CET

This is an archived mail posted to the Subversion Dev mailing list.