gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] Replication resync after disconnection


From: gordan
Subject: Re: [Gluster-devel] Replication resync after disconnection
Date: Wed, 23 Apr 2008 13:10:20 +0100 (BST)
User-agent: Alpine 1.10 (LRH 962 2008-03-14)

On Wed, 23 Apr 2008, Krishna Srinivas wrote:

Gareth,
That bug was fixed long back, i just moved it to fixed state.

Gordan,

 I have two nodes in AFR mode. If node2 down and I add files to node1, when
 the node2 comes up, it cannot see the files. ls doesn't show them.

 However, after I cat/head the files on node1, they appear on node2.

 Is there a way to make this work? I can live with head-ing every file when
 a node comes up to force a resync, but this gets a lot more difficult if
 it has to be done from the other side.

http://ftp.zresearch.com/pub/gluster/glusterfs/1.3/glusterfs-1.3.8pre6.tar.gz

Ah, great. And the rpms build cleanly from it. :-)

Also what do you mean by "but this gets a lot more difficult if
 it has to be done from the other side."

I don't mind having a script on the node that is coming back into the cluster that triggers when the node rejoins to head -1 all the files to sync, but detecting when a remote node rejoins and issuing the head -1 on all files on all other nodes to get the new node to sync is a bigger problem.

But if this has been fixed in 1.3.8pre6, then that's no longer a problem. :-)

Thanks.

Gordan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]