Re: Re-Sync Geo Replication

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

 



I am interested in hearing this answer too.

James, if you have a consistency check script, maybe just changing the timestamp or some other attribute on the file (perhaps something as simple as chmod to something and then back) would trigger the integrated rsync.

Dave

On Sat, Oct 4, 2014 at 5:33 PM, James Payne <jimqwerty4@xxxxxxxxxxx> wrote:

Hi,

 

Just wondering if there was a method to manually force a re-sync of a geo replication slave so it is an identical mirror of the master?

 

History of this request is that I have a test setup and the Gluster Geo-Replication seems to have missed 7 files out completely (not sure if this was a bug or an issue with my setup specifically as this is a test setup it has been setup and torn down a few times). Now though the Geo replica will not converge to be the same, ie. It’s stable, new files add fine and files will delete, but the missing files just don’t seem to be interested in synchronising! I’m guessing that as the rsync is triggered by the change log and as these files aren’t changing it won’t ever notice them again? I can manually copy the files (there are only 7 after all…) but I have only found them through a consistency checking script I wrote. I can run this through a cron to pick up any missing files, however I wondered if Gluster had something built in which did a check and sync? Also, If I did manually copy these files across how would that affect the consistency of the geo replica session?

 

Running: GlusterFS 3.4.5 on CentOS 6.5

 

Regards

James

 


_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users

[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