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

dupkeys leading to wasted records.

From: <cmpilato_at_collab.net>
Date: 2002-05-08 23:39:31 CEST

I happened to notice while debugging Philip's latest bug report that
our strings table appears to be wasting a BDB row for every string
added to the table. That is, now that we have the whole duplicate key
thing going on, the strings table look like this:

--
VERSION=3
format=print
type=btree
duplicates=1
keys=1
HEADER=END
 0
 
 0
 ((trunk 3 3.1) (tags 3 2.1) (branches 3 1.1))
 1
 
 1
 ((trunk 3 3.2) (tags 3 2.1) (branches 3 1.1))
 10
 
 10
 Tue Feb 16 10:49:07 PST 1999\0a\0a
(...)
DATA=END
--
Note that the first of all the duplicate keys points to an empty row.
I've verified that this has nothing to do with any recent changes to
the filesystem code, and presume it began immediately after enabling
the duplicate key system.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 8 23:39:41 2002

This is an archived mail posted to the Subversion Dev mailing list.