]> git-server-git.apps.pok.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)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:32 +0000 (15:47 -0400)
commit820c94b0fc2ae695f37119240263a03e8056388a
tree733e7e5d7a01c8a5dd4953fa834859ed33ee6605
parent8f264278fc52a45369259d3b1f93db949c1b7cca
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