/[Apache-SVN]
ViewVC logotype

Revision 1687079


Jump to revision: Previous Next
Author: kotkov
Date: Tue Jun 23 14:34:05 2015 UTC (9 years, 6 months ago)
Changed paths: 1
Log Message:
Only lock the hotcopy destination (by taking db/write-lock, db/pack-lock
and db/txn-current-lock) when we are running in the incremental mode.  We
don't have to do this in a non-incremental mode, because the destination
is not openable until we are done with the hotcopy.  If it cannot be opened,
concurrency is not an issue.

* subversion/libsvn_fs_fs/hotcopy.c
  (svn_fs_fs__hotcopy): Lock the hotcopy destination only if we're running
   in incremental mode (and a fallback to the non-incremental mode didn't
   happen).


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/hotcopy.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26