health monitoring of replicated volume

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

 



On Jun 12, 2010, at 9:24 AM, Deyan Chepishev wrote:

> Hello,
> 
> My main idea is that currently no one can tell you if the data is consistent on all nodes, for example very simple case:
> 
> 2 replicated nodes, node1 and node2
> 
> I reboot node1 and during this time, someone writes a file which will be written on node2. At this time you have out of sync replication.
> 
> When node1 comes back up in a few minutes, there is no way to know if this node is with consistent data or not. Some people suggest to run ls -lR but you have to agree that this is not applicable if you have huge file system tree with millions of files.

Please note that the "ls -lR" is only needed to trigger self-heal pre-emptively. Even if you don't do it, replicate will at all times serve read requests from the up-to-date copy, and any access to a file will automatically trigger self-heal.

I do agree, however, that a way to monitor the state would be helpful.

------------------------------
Vikas Gorur
Engineer - Gluster, Inc.
------------------------------










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

  Powered by Linux