Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-mirrors
Navigation:
Lists: gentoo-mirrors: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-mirrors@g.o
From: carlos@... (Carlos Carvalho)
Subject: Re: questions on rsync mirror operation
Date: Mon, 3 May 2010 18:23:34 -0300
Sebastian Pipping (sping@g.o) wrote on 3 May 2010 22:25:
 >even after reading [1] I keep wondering what happens if a user syncs
 >against our Gentoo e.V. rsync1 mirror while that one is syncing itself
 >against the master server.  With bad luck a user may end up with mixed
 >files from before and after the sync (i.e. an inconsistent, possibly
 >broken tree), or not?

Yes.

 >How bad would shutting rsyncd down for the moment and bringing it back
 >up after be?

VERY BAD :-)

 >Is there a cleaner solution to this?

Mirrors should use --delay-updates --delete-after when they update.
It's not perfect but good enough.

It seems the portage tree is very small (we only mirror distfiles so
I'm not sure). If so, there's a truly atomic way to update using
fancy rsync options. The atomic-rsync perl script, in the support
directory of the rsync source, implements it.


Replies:
Re: questions on rsync mirror operation
-- Sebastian Pipping
References:
questions on rsync mirror operation
-- Sebastian Pipping
Navigation:
Lists: gentoo-mirrors: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
questions on rsync mirror operation
Next by thread:
Re: questions on rsync mirror operation
Previous by date:
questions on rsync mirror operation
Next by date:
Re: questions on rsync mirror operation


Updated May 07, 2012

Summary: Archive of the gentoo-mirrors mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.