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

Re: predecessor count for the root node-revision is wrong message

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Mon, 19 Mar 2012 17:50:08 +0200

shashank subramaniam wrote on Mon, Mar 19, 2012 at 20:29:47 +0530:
> Hey,
> We tried looping as a solution to the ''Predescessor
> Count for the root node revision is wrong' error (We looped the commit
> alone till it is commited).This works, but if 100 people try to commit to
> the same repository at the same time, the 100th guy's instance of the
> program is looped 100 times.There is also the possibility of it falling
> into an infinite loop due to some internal error.So, can you suggest some
> other solution around this bug, whereby multiple users are able to commit
> to the same repository at the same time(Space complexity is not
> a constraint)
>

Normally concurrent commits are supported. The bug under discussion has
to do with a flaw in the mechanism that causes concurrent commits to
succeed.

> I noticed a similar problem also, which I think might be related to the
> 'Predescessor' bug. Simultaneous SVN Updates from the same repository by
> different users fails silently (throws no error, but update doesn't
> happen). I think, probably an implicit lock is being put on the repository,
> preventing simultaneous operations.Please do let us know if some solution
> exists.
>

In FSFS there are no read locks, and different readers don't interfere
with each other or with others. You'll have to describe what you see in
more detail. (Exactly what you did, what you saw, and how it differed
from what you expected to see)

Thanks

Daniel

> Thanks
> Subu
Received on 2012-03-19 16:50:55 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.