]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: apply_olh_log filters out older instances of same epoch
authorCasey Bodley <cbodley@redhat.com>
Fri, 1 Nov 2019 14:38:52 +0000 (10:38 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 22 Nov 2019 20:25:33 +0000 (15:25 -0500)
commit15aa3ad341ab0df128464d22cd97bd33f185e41a
tree8a6a250eb8ff8eb92aac5d681db30a4e2a9ab358
parentef039b27df93bf89c95724d13ba82324813c3aae
rgw: apply_olh_log filters out older instances of same epoch

when apply_olh_log() detects multiple instances with the same epoch, we
only promote the one that the bucket index lists as more current

Fixes: https://tracker.ceph.com/issues/39142
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc