]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: ObjectCache::put() clears stale objv 37337/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 8 Sep 2020 19:27:55 +0000 (15:27 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 29 Sep 2020 15:23:57 +0000 (17:23 +0200)
commit1a87df637faa9b074eadd4541099e0e2079c73bd
tree1d93b1c1b5447178c82df440e3a1a01202bc5ebd
parent98166c71cf6d837a7e1a2fa03efa742eddb9014a
rgw: ObjectCache::put() clears stale objv

if an existing object is cached with an object version, but it's
mutated without updating that version number, clear the OBJV flag so
that later cache reads asking for an object version result in a miss and
re-read the version from the osd

Fixes: https://tracker.ceph.com/issues/47306
Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit cf531cdd5e655a033f47e04b7dda81435a90271d)
src/rgw/rgw_cache.cc