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

Re: SVN backup with lvm snapshots and rsync

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Wed, 15 Feb 2012 19:41:57 -0500

On Wed, Feb 15, 2012 at 6:19 PM, Philip Martin
<philip.martin_at_wandisco.com> wrote:
> Nico Kadel-Garcia <nkadel_at_gmail.com> writes:
>> Unless you do a "sync"
>> command, or various low level flush commands, you don't know that you
>> write to disk has actually made it to the platter.
> Subversion does that.  It uses fsync (plus fsync on directories on
> Linux) before assuming data is on disk.

So the risk is reduced, which is good. It lowers the window of
vulnerability (between when a commit is published, and when the fsync
occurs). This is actually good progamming. Not everyone who deals with
real data is this thoughtful.
Received on 2012-02-16 01:42:31 CET

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.