/[Apache-SVN]
ViewVC logotype

Revision 1558224


Jump to revision: Previous Next
Author: stefan2
Date: Tue Jan 14 22:09:01 2014 UTC (10 years, 2 months ago)
Changed paths: 3
Log Message:
For FSFS and FSX, fix a major merge scalability issue described here:
http://svn.haxx.se/dev/archive-2014-01/0057.shtml

The bottom line is that we allow incoming prop changes on directories
that have no addition nor deletion of entries relative to the TXN
base revision. This patch updates existing tests and provided a
specific new one.

Issue #2118 "property merging unnecessarily strict".

* subversion/libsvn_fs_fs/tree.c
  (compare_dir_structure): A new utility function checking that all
                           dirents are still the same, although
                           possibly at different revisions.
  (merge): An dir prop change in a txn should not conflict with
           simply node upgrades within that directory.

* subversion/libsvn_fs_x/tree.c
  (compare_dir_structure, 
   merge): Similar implementation as for FSFS with a slight adaptation
           due to different directory container types.

* subversion/tests/libsvn_fs/fs-test.c
  (unordered_txn_dirprops): Update expected results.
  (dir_prop_merge): New test.
  (test_compat_version): Register the new test.


Changed paths

Path Details
Directorysubversion/trunk/subversion/libsvn_fs_fs/tree.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_x/tree.c modified , text changed
Directorysubversion/trunk/subversion/tests/libsvn_fs/fs-test.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26