[Gluster-devel] Replication resync after disconnection

gordan at bobich.net gordan at bobich.net
Wed Apr 23 12:10:20 UTC 2008


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





More information about the Gluster-devel mailing list