]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: get_bucket_instance_ids() uses num_shards from layout
authorCasey Bodley <cbodley@redhat.com>
Wed, 19 May 2021 18:03:48 +0000 (14:03 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 27 Apr 2022 20:34:12 +0000 (16:34 -0400)
commit44bcfdd416222f9392d16f4f15ea2b6304701544
tree988e38e30d956b08c771004ff1c642fdc25d9522
parent1fb82dedcff473c4b19ab5dab3f17c70cf9c4a8a
rgw: get_bucket_instance_ids() uses num_shards from layout

knock out a TODO that was causing this assertion failure in
RGWRados::get_bucket_stats() after a reshard:

  ceph_assert(headers.size() == bucket_instance_ids.size());

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