]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: check bucket shard init status in RGWRadosBILogTrimCR 44906/head
authorMykola Golub <mgolub@suse.com>
Wed, 2 Feb 2022 18:25:33 +0000 (18:25 +0000)
committerMykola Golub <mgolub@suse.com>
Sat, 5 Feb 2022 08:38:22 +0000 (10:38 +0200)
commitad3e390e0dc275abdbff07876418ce2e98ca9997
tree07413379d56bfac558a36e9c18ea9f857a8d05b3
parenta94e94ded2f1883c7871427d720d9cb6269dc9df
rgw: check bucket shard init status in RGWRadosBILogTrimCR

to avoid using not properly initialized bs.bucket_obj.

Fixes: https://tracker.ceph.com/issues/54119
Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 02c6a56f49571183cd599932b26ff90c2b4b7683)
src/rgw/rgw_cr_rados.cc
src/rgw/rgw_cr_rados.h