[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] AFR documentation
From: |
Thierry EXCOFFIER |
Subject: |
Re: [Gluster-devel] AFR documentation |
Date: |
Thu, 18 Oct 2007 10:19:48 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.11) Gecko/20070217 Iceape/1.0.8 (Debian-1.0.8-4) |
Krishna Srinivas wrote:
Self-Heal
AFR has self-heal feature, which updates the outdated file and directory
copies by the most recent versions. For example consider the following
config:
volume afr-example
type cluster/afr
subvolumes brick1 brick2
end-volume
Hello.
Imagine you have :
On network 1 : client 1 (AFR) and server 1 (brick1)
On network 2 : client 2 (AFR) and server 2 (brick2)
The networks are disconnected.
The 2 clients continue to write on the AFR brick on the same file.
The networks are reconnected.
For the file modified by the 2 clients :
- If the version numbers are differents, the file with the bigger
version number is copied over the older version.
(It's may be not the file with the more recent modification time)
- If the version numbers are identicals, do you detect that
the file content is not the same ?
Sincerely yours.
Thierry.
--
Thierry.EXCOFFIER@@liris.univ-lyon1.fr// GO: Oriental Strategy Game
LIRIS/UFR Informatique, bat710 //DYLAN: Programming Language
Universite Claude Bernard LYON 1 __// UNIX: Standard Operating System
43 Bd du 11 novembre 1918 //
69622 VILLEURBANNE, FRANCE //WWW: http://www710.univ-lyon1.fr/~exco