Re: rgw-multisite: why RGWRemoteDataLog::read_source_log_shards_next() return directly for mater zone?

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

 




On 09/03/2018 01:15 AM, Xinying Song wrote:
Hi cephers:
   I'm confusing about the output of `radosgw-admin sync status`
command. When running in the master zone, it only shows how many
shards are there that are late, without showing the timestamp of
oldest not applied log entry. Run this command on the slave zone will
show both num and timestamp information.
   The source code shows that is because
RGWRemoteDataLog::read_source_log_shards_next() function is doing
nothing and returns directly on master zone. What's the reason for
that?

Thanks!

Hi,

It looks like that early return on is_meta_master() was copy/pasted from metadata sync. I agree that it doesn't belong in RGWRemoteDataLog - would you like to submit a fix?

Thanks!
Casey



[Index of Archives]     [CEPH Users]     [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