Hello,
On 02/26/2016 08:29 AM, ABHISHEK PALIWAL wrote:
Hi Ravi,
Thanks for the response.
We are using Glugsterfs-3.7.8
Here is the use case:
We have a logging file
which saves logs of the events for every board of a
node and these files are in sync using glusterfs.
System in replica 2 mode it means When
one brick in a replicated volume goes offline, the
glusterd daemons on the other nodes keep track of
all the files that are not replicated to the
offline brick. When the offline brick becomes
available again, the cluster initiates a healing
process, replicating the updated files to that
brick. But in our casse, we see that log
file of one board is not in the sync and its format
is corrupted means files are not in sync.
Just to understand you correctly, you have mounted the 2 node
replica-2 volume on both these nodes and writing to a logging file
from the mounts right?
Even the outcome of #gluster
volume heal c_glusterfs info shows that there is no
pending heals.
Also , The
logging file which is updated is of fixed size and
the new entries will be wrapped ,overwriting the old
entries.
This way we have seen that after few restarts , the
contents of the same file on two bricks are
different , but the volume heal info shows zero
entries
Solution:
But when we tried to put
delay > 5 min
before the healing everything is working fine.
Regards,
Abhishek
|
_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://www.gluster.org/mailman/listinfo/gluster-devel