Re: AFR documentation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux