On Tue, 2004-06-08 at 09:45, C.A.T.Magic wrote:
> the problem is the same as discussed a while ago:
> use 1 repos, 2 or more working dirs,
> simultaneously loop over a modify-commit
> from both working dirs resulting in weird errors like
> the following:
> svn: Invalid diff stream: insn 2 has non-positive length
[etc.]
It looks like maybe two committers are trying to write to the same rev
file, and wacky antics ensue. (The "Invalid diff stream" error probably
comes from trying to reconstruct the base for the delta being
constructed.)
Please try compiling the attached source against APR, if you know how.
Run it with the pathname of a file on the same storage facility as the
repositories you're testing with. (And let me know what kind of storage
facility this is, while you're at it.) The program simply opens a file,
grabs a lock using apr_file_lock(), waits for a keypress, and exits.
Try running two instances of it with the same filename, and let me know
if they both succeed in grabbing the lock at the same time. If they do,
that explains the problem, though not the solution.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 8 23:05:36 2004