[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

FSFS verifies rep-cache when disabled

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 31 Jul 2012 18:32:21 +0100

"svnadmin verify" verifies a rep-cache.db file even when rep-caching is
disabled. This appears to be intentional but I don't understand the
reasoning.

svn_fs_fs__verify calls svn_fs_fs__exists_rep_cache to see if the cache
exists and then calls svn_fs_fs__walk_rep_reference which has the
comment:

  /* Don't check ffd->rep_sharing_allowed. */
  SVN_ERR_ASSERT(ffd->format >= SVN_FS_FS__MIN_REP_SHARING_FORMAT);

Why should verify attempt to verify a cache that is disabled?

-- 
Certified & Supported Apache Subversion Downloads:
http://www.wandisco.com/subversion/download
Received on 2012-07-31 19:32:57 CEST

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.