/[Apache-SVN]
ViewVC logotype

Revision 1462436


Jump to revision: Previous Next
Author: stefan2
Date: Fri Mar 29 10:39:18 2013 UTC (11 years, 8 months ago)
Changed paths: 4
Log Message:
Introduce the concept of namespaces to FSFS caching.  We already use
"prefixes" to separate keys from different repos.  Now, we can add
another element to the prefix and we will do so if we need to ensure
that all data get read from disk at least initially.

Make all verification code use a unique cache namespace.

* subversion/include/svn_fs.h
  (SVN_FS_CONFIG_FSFS_CACHE_NS): declare new config option

* subversion/libsvn_fs_fs/caching.c
  (read_config): read namespace from config
  (svn_fs_fs__initialize_caches): add namespace to prefix

* subversion/libsvn_fs_fs/fs_fs.c
  (verify_as_revision_before_current_plus_plus): use unique namespace
   instead of disabling caches altogether

* subversion/svnadmin/svnadmin.c
  (open_repos): use unique namespace for all ops

Changed paths

Path Details
Directorysubversion/trunk/subversion/include/svn_fs.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/caching.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_fs_fs/fs_fs.c modified , text changed
Directorysubversion/trunk/subversion/svnadmin/svnadmin.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26