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

Why does svn_fs_berkeley_logfiles use DB_PRIVATE?

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-10-31 00:54:21 CET

Sleepcat docs say this about DB_PRIVATE

  This flag should not be specified if more than a single process is
  accessing the environment because it is likely to cause database
  corruption and unpredictable behavior. For example, if both a server
  application and the Berkeley DB utility db_stat are expected to access
  the environment, the DB_PRIVATE flag should not be specified.

DB_PRIVATE is being used in svn_fs_berkeley_logfiles, and svnadmin
uses this function for both the list-unused-dblogs command the new
hotcopy command. Since both those commands are intended to be used
while the server is running, it looks like a bug to me. Anyone

Philip Martin
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 00:55:09 2003

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.