]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
radosgw-admin: bucket sync status guards against shard count mismatch
authorCasey Bodley <cbodley@redhat.com>
Fri, 20 Aug 2021 14:39:34 +0000 (10:39 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 28 Apr 2022 17:00:04 +0000 (13:00 -0400)
commit11a97a0b48c4c336a4de52138bec7a664375f470
treea4c0ee063d179a5c49724353ce5156a636a3df5c
parentf483f16b9668cdcda183afffb4acc83f8dd2f05c
radosgw-admin: bucket sync status guards against shard count mismatch

if the remote gives us more shards than we expect, just count those
shards as 'behind' and avoid out-of-bounds access of shard_status

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