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

FSFS/svn-rep-sharing-stats questions

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 13 Oct 2009 00:36:17 +0200 (Jerusalem Standard Time)

Recently I added svn-rep-sharing-stats to the repository [1]. (It aims to
be a tool for calculating reference counts for representations in an FSFS
repository.)

Since I'm not an FSFS expert, and wrote it partly based on the APIs and
partly based on "doing it this way seems to work", I'll appreciate
having some review on it.

(What can go wrong? Anything, I suppose, from FS corruption bugs to
simple "doesn't calculate the refcounts correctly" bugs.)

Most of the logic is in the functions process() and especially
process_one_revision().

Thanks.

Daniel
(who considers copying fsfs-reshard.py's always-on "This isn't ready to be
used on live data" warning)

[1] http://svn.collab.net/repos/svn/trunk/tools/server-side/svn-rep-sharing-stats.c

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2406831
Received on 2009-10-13 23:14:40 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.