]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: Rename REMOVE_OBJ to INVALIDATE_OBJ
authorAdam C. Emerson <aemerson@redhat.com>
Wed, 14 Jul 2021 14:57:02 +0000 (10:57 -0400)
committerAdam C. Emerson <aemerson@redhat.com>
Wed, 14 Jul 2021 16:44:23 +0000 (12:44 -0400)
commit9e12d7e7d140b1440e636a08df166d29450140b0
treeb225e7554f5c7f210ba30e35f75a8b16f343b5b4
parent7f952ad80114096322f202ba58279aaa4a002313
rgw: Rename REMOVE_OBJ to INVALIDATE_OBJ

Also rename ObjectCache::remove to ObjectCache::invalidate_remove

Since we're depending on these message types/functions having
invalidate semantics but NOT caching a negative result, rename and
leave a comment for clarity.

Fixes: https://tracker.ceph.com/issues/51674
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
src/rgw/rgw_cache.cc
src/rgw/rgw_cache.h
src/rgw/services/svc_sys_obj_cache.cc