Re: radosgw-admin metadata sync run

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

 



these 'sync run' commands just run the normal multisite sync logic.
sometimes it's easier to capture logs and debug sync issues under a
radosgw-admin command instead of a running radosgw. but you're right
that sync's use of cls locks will limit the utility of these
radosgw-admin commands while sync gateways are still running

On Wed, May 3, 2023 at 12:10 PM Yixin Jin <yjin77@xxxxxxxx> wrote:
>
> Hi folks,
>
> What is the purpose of this command? It is always stuck and its debug log shows that it couldn't get locks on mdlog.sync-status* objects, which are constantly locked by the running radosgw process (every 60 seconds, it will ensure it gets the lock). It appears that RGWMetaSyncShardCR::incremental_sync() never gets out of the do-while loop until can_adjust_marker is false, which is only set as such when one of its children returns an error. So, it seems that during normal operation, this loop never ends. Thus, it always holds sync status object locks, thus renders this command useless. Or did I use it wrong?
>
> Thanks,
> Yixin
> _______________________________________________
> Dev mailing list -- dev@xxxxxxx
> To unsubscribe send an email to dev-leave@xxxxxxx
>
_______________________________________________
Dev mailing list -- dev@xxxxxxx
To unsubscribe send an email to dev-leave@xxxxxxx




[Index of Archives]     [CEPH Users]     [Ceph Devel]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux