]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: resize status vector before reading inc_sync_status
authorCasey Bodley <cbodley@redhat.com>
Thu, 19 Aug 2021 20:30:49 +0000 (16:30 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 27 May 2022 19:47:33 +0000 (15:47 -0400)
commitc2f707786f7eb57bdba18f4ecee85d31dbf9d0d1
tree7e8d210e33223782ba10631c986092abb20d8728
parent6dbfe103061dffaaa8411c0a02a1e6a8d6100435
rgw: resize status vector before reading inc_sync_status

rgw_read_bucket_inc_sync_status() uses the size of this vector as the
'num_shards', so we need to resize it appropriately beforehand

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