Author: stefan2
Date: Mon May 15 10:47:34 2017
New Revision: 1795164
URL: http://svn.apache.org/viewvc?rev=1795164&view=rev
Log:
Fix a crash in FSFS when accessing revprops and we are using 1.6-style caches
(option '-M 0').
Reported by: stsp
* subversion/libsvn_fs_fs/caching.c
(svn_fs_fs__initialize_caches): All mandatory cache instances need to
provide parameters for 1.6-style caching.
Modified:
subversion/trunk/subversion/libsvn_fs_fs/caching.c
Modified: subversion/trunk/subversion/libsvn_fs_fs/caching.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/caching.c?rev=1795164&r1=1795163&r2=1795164&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/caching.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/caching.c Mon May 15 10:47:34 2017
@@ -519,7 +519,7 @@ svn_fs_fs__initialize_caches(svn_fs_t *f
SVN_ERR(create_cache(&(ffd->revprop_cache),
NULL,
membuffer,
- 0, 0, /* Do not use inprocess cache */
+ 8, 20, /* ~400 bytes / entry, capa for ~2 packs */
svn_fs_fs__serialize_revprops,
svn_fs_fs__deserialize_revprops,
sizeof(pair_cache_key_t),