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

Re: Taking mirror Backup of SVN Repos through 3rd Party Software

From: Andreas Krey <a.krey_at_gmx.de>
Date: Thu, 30 Jun 2011 20:15:46 +0200

On Thu, 30 Jun 2011 11:35:17 +0000, Les Mikesell wrote:
> I think you are being way too optimistic about real-world filesystems
> and disk and controller caches. It is possible to make a system that
> behaves with the ideal behavior you describe - and maybe many do in
> terms of the filenames and directory entries.

Actually, more like for reads and writes into/from a single file;
a full sync() tends to be a bit expensive.

> But I'd guess that the
> majority don't really get this right with the data contents of those files.

I can't claim that I did test the popular ones rigorously for that.
(I'd love to, but nobody is going sponsor me on that.)

But without some such guarantees it is impossible to implement any
database (working in-place) in a crash-proof way, and there are quite
a few that work apparently reliably on major operating systems,
so I tend to regard your view as a bit pessimistic. :-)


"Totally trivial. Famous last words."
From: Linus Torvalds <torvalds@*.org>
Date: Fri, 22 Jan 2010 07:29:21 -0800
Received on 2011-06-30 20:16:21 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.