]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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)
committerNathan Cutler <ncutler@suse.com>
Tue, 21 Jan 2020 22:12:53 +0000 (23:12 +0100)
commitf60a8823a2547cfc8ec1da0f44f74b2c11e7bc60
treed2e5bd1db3a32a5d51a13d757e21e79c94f8d95d
parent72caadf8a2e8816afcbb22667eb9989e2ce62ff1
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>
(cherry picked from commit 15aa3ad341ab0df128464d22cd97bd33f185e41a)
src/rgw/rgw_rados.cc