]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: when a period lookup for oldest_realm_epoch returns an ENOENT, 31873/head
authorShilpa Jagannath <smanjara@redhat.com>
Tue, 26 Nov 2019 08:03:52 +0000 (13:33 +0530)
committerShilpa Jagannath <smanjara@redhat.com>
Fri, 6 Dec 2019 13:05:30 +0000 (18:35 +0530)
commit0ea65d81d4d5431ca22340149dbd714e395ecdc3
tree120ba69296d61f6e0962fb8d9d885c25a3f33b41
parent77226cd2011ce0b452d961b0c5aa6a894f6588b3
rgw: when a period lookup for oldest_realm_epoch returns an ENOENT,
find the oldest one and update RGWMetadataLogHistory. This is to avoid an
empty cursor being passed in to ceph_assert() in PurgePeriodLogsCR::operate()
in case of incomplete period history.

Fixes: https://tracker.ceph.com/issues/40341
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
src/rgw/services/svc_mdlog.cc