]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ceph-immutable-object-cache: don't return empty path for older clients
authorMykola Golub <mgolub@suse.com>
Mon, 20 Jul 2020 12:14:47 +0000 (13:14 +0100)
committerJason Dillaman <dillaman@redhat.com>
Thu, 27 Aug 2020 17:56:05 +0000 (13:56 -0400)
commita1b9620fea8d33432203e6aa143441c215e8a244
treefcecff2d7bfc444afb59f0dbaa1f70dd2a091aae
parent07cc9b75e4e4e4b8e15497b1de0f78dff503095e
ceph-immutable-object-cache: don't return empty path for older clients

They would crash. Now they will try to read a non-existing file.

Signed-off-by: Mykola Golub <mgolub@suse.com>
(cherry picked from commit 955a185f410152c87c52377153c397e845edbf1d)
src/test/immutable_object_cache/test_object_store.cc
src/tools/immutable_object_cache/CacheClient.cc
src/tools/immutable_object_cache/CacheController.cc
src/tools/immutable_object_cache/CacheSession.cc
src/tools/immutable_object_cache/CacheSession.h
src/tools/immutable_object_cache/ObjectCacheStore.cc
src/tools/immutable_object_cache/ObjectCacheStore.h
src/tools/immutable_object_cache/Types.cc
src/tools/immutable_object_cache/Types.h