[Gluster-devel] AFR documentation
Thierry EXCOFFIER
exco at bat710.univ-lyon1.fr
Thu Oct 18 08:19:48 UTC 2007
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
More information about the Gluster-devel
mailing list