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

Re: fsfs-reshard.py - offline FSFS resharding

From: Malcolm Rowe <malcolm-svn-dev_at_farside.org.uk>
Date: 2007-04-12 15:06:15 CEST

On Wed, Apr 11, 2007 at 03:23:56PM -0400, C. Michael Pilato wrote:
> I haven't had a chance to really review the code, but I noted several
> functions that look like error handlers using print() instead of
> sys.stderr.write(). Keep error output on stderr, please.
>
> Do you wanna just check it in with the first line of main() being:
>
> raise Exception, "This script is unfinished and not ready to be used "
> "on live data. Trust us."
> ?
>

Done, and done, thanks.

> > I part-converted my copy of the ASF repository to test the
> > restartability, producing 400 shards of 1000 files in about 5-6 minutes;
> > going back the other way has taken about 5-6 hours so far. That's
> > partly down to my filesystem (ext2), but it does mean that restarting a
> > sharding operation is less than ideal, because I currently have that
> > achieved by pre-converting to a linear structure.
>
> Ouch.
>

Yeah, and I actually can't remember why I did it that way. I'll try to
fix it :-)

Regards,
Malcolm

  • application/pgp-signature attachment: stored
Received on Thu Apr 12 15:06:45 2007

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.