]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: bucket sync status handles missing full status
authorCasey Bodley <cbodley@redhat.com>
Thu, 19 Aug 2021 21:21:37 +0000 (17:21 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commit99fe9eb7b727e3873dd7af8e08cbc76e695418e6
tree22ed34674593889ed4f1ad3895c059a0c85bfee1
parent0ac4d7bb2830b5ab78d09c4716c988f9c1c5785c
radosgw-admin: bucket sync status handles missing full status

if the full sync status object is missing, it's possible that we just
haven't started syncing it again after upgrading from just the per-shard
status objects

in this case, as long as we have a log generation 0, assume that we just
haven't initialized the full status object and try to read the gen=0
per-shard incremental status for comparison

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_admin.cc