]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fetch_remote_obj() applies olh even if object is current
authorCasey Bodley <cbodley@redhat.com>
Fri, 1 Jun 2018 13:11:43 +0000 (09:11 -0400)
committerNathan Cutler <ncutler@suse.com>
Wed, 12 Sep 2018 14:46:41 +0000 (16:46 +0200)
commit20e883b9a1545c43e892263e0e428ece3bc42e93
treed16096d2e6eb298f161f0496d17a760bad056196
parent95232d610413aa964d567bf0e788546732ec49ff
rgw: fetch_remote_obj() applies olh even if object is current

even if we already have the latest version of an object, it may have
synced without a valid olh epoch. so we still need to apply its olh
modifications with this epoch. this change also has to be added to the
data changes log

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit b5ecc4eaaaaa4f9950ad934a015255171abeb01e)
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h