[Gluster-users] Reliable Geo-Replication
Shwetha Acharya
sacharya at redhat.com
Mon Jun 22 11:49:19 UTC 2020
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 at gmx.de> 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 at gmx.de> 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 at gluster.org
>> https://lists.gluster.org/mailman/listinfo/gluster-users
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20200622/a9647bde/attachment.html>
More information about the Gluster-users
mailing list