]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
immutable-object-cache: fix error handling during start up
authorJason Dillaman <dillaman@redhat.com>
Fri, 17 Jul 2020 14:25:20 +0000 (10:25 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 13:17:38 +0000 (15:17 +0200)
commit7380b24760f032c8c0b96c2ecd59eca2f9ba1b8f
tree923a904fcf4d3dda03e4966a69afa99b0001b4be
parent35adebe94e8b0a17e7b56379a8bf24e5f7b8ced4
immutable-object-cache: fix error handling during start up

Previously the daemon would crash if it couldn't remove all the
files from the specified cache directory. It would also crash if
it could not access its specified domain socket file.

Fixes: https://tracker.ceph.com/issues/45169
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit f6dcb6c3dbd45574e1a7ca3f5e8f1f52a0d7ae1e)
src/tools/immutable_object_cache/CacheController.cc
src/tools/immutable_object_cache/CacheController.h
src/tools/immutable_object_cache/CacheServer.cc
src/tools/immutable_object_cache/ObjectCacheStore.cc
src/tools/immutable_object_cache/main.cc