Re: Reliable Geo-Replication

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

 



Hi Felix,

Have you deleted the session with reset-sync-time and recreated the session?

If yes, the crawling starts from beginning.
Which happens in this way:

It begins with hybrid crawl, as data is already in  master before re creating the geo-rep session. If geo-rep session is craeted before creating data on master, hybrid crawl does not occur. Note:  renames and deletes will not be synced in hybrid crawl. 

Then it gradually changes to history crawl and changelog crawl.

You can wait for sync to complete by setting a checkpoint, need not try # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path> 
reset-sync-time will take considerable time to finish syncing, as I stated earlier, it is time consuming one.

Modes does not affect # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path>

Regards, 
Shwetha


On Mon, Jun 22, 2020 at 5:01 PM Felix Kölzow <felix.koelzow@xxxxxx> wrote:

Dear Shwetha,


sorry, one more question, since I try to collect some more information which may helpful for other gluster-users.

Does the suggested command

# setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path>

also work regardless of the current mode, i.e. history, hybrid or changelog crawl?


Regards,

Felix

On 22/06/2020 13:11, Shwetha Acharya wrote:
Hi Felix,

File path is the path from mount point. Need not include any other options.

Regards,|
Shwetha

On Mon, Jun 22, 2020 at 3:15 PM Felix Kölzow <felix.koelzow@xxxxxx> wrote:
Dear Shwetha,

> One more alternative would be to triggering sync on indivisual files,
> # setfattr -n glusterfs.geo-rep.trigger-sync -v "1" <file-path>

So, how to do it exactly and what is <file-path>? Is it a gluster mount
point with certain mount options

or is this the brick path? Furthermore, does it work for directories?


Regards,

Felix


________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.gluster.org/mailman/listinfo/gluster-users
________



Community Meeting Calendar:

Schedule -
Every 2nd and 4th Tuesday at 14:30 IST / 09:00 UTC
Bridge: https://bluejeans.com/441850968

Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
https://lists.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