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

AW: possible mechanism of repo corruption

From: Markus Schaber <m.schaber_at_3s-software.com>
Date: Thu, 9 Jun 2011 16:32:26 +0200

Hi,

> Von: Stefan Sperling [mailto:stsp_at_elego.de]
 
> If your Apache server is handling requests via threads (rather than
> forking
> processes) this might explain why you never saw this problem with just
> dav.
> The threads can synchronise via mutexes which live in the same process
> address space. But separate processes require file locking for proper
> synchronisation.

If there's only one machine running the Apache server, and the svnserve
is on a different one, then another hint may be that the apache machine
locked the files locally but not on the NFS server, so it worked fine in
the one-machine case. AFAIR some NFS clients had that behavior that
locks were respected locally, even if they were not propagated to the
server.

Regards,
Markus Schaber
Received on 2011-06-09 16:33:16 CEST

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