Re: svn commit: r1687079 - /subversion/trunk/subversion/libsvn_fs_fs/hotcopy.c
From: Evgeny Kotkov <evgeny.kotkov_at_visualsvn.com>
Date: Tue, 23 Jun 2015 19:40:10 +0300
Branko Čibej <brane_at_wandisco.com> writes:
>> Author: kotkov
[...]
> What happens now if you run a non-incremental an an incremental hotcopy
For the same destination, right? If a non-incremental hotcopy strikes in
> Even if that's not an issue, which problem does this change solve?
Less locking equals less potential problems. In a non-incremental case, the
Here is a theoretically possible exploit for the code before the change:
1) You need to have a Unix process doing parallel non-incremental hotcopies
2) The hotcopy source should be an FSFS6 (or less) filesystem without an
3) The second svn_fs_hotcopy3() call *is going to block* until the first one
If you replace the second hotcopy with another operation — say, with something
Regards,
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.