Re: Re-Sync Geo Replication

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

 



I can confirm that using touch works and the file is resync'd

Thanks for your help :)

James

--- Original Message ---

From: "Venky Shankar" <yknev.shankar@xxxxxxxxx>
Sent: 8 October 2014 12:41
To: "James Payne" <jimqwerty4@xxxxxxxxxxx>
Cc: "gluster-users" <gluster-users@xxxxxxxxxxx>
Subject: Re: Re-Sync Geo Replication

​"touch <filename>" should trigger a re-sync.

On Sun, Oct 5, 2014 at 3:03 AM, 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