Loading src/daemon/backend/metadata/rocksdb_backend.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ void RocksDBBackend::remove_impl(const std::string& key) { auto s = db_->Delete(write_opts_, key); if(!s.ok() && !s.IsNotFound()) { if(!s.ok()) { throw_status_excpt(s); } } Loading src/daemon/handler/srv_metadata.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -253,6 +253,11 @@ rpc_srv_remove_metadata(hg_handle_t handle) { GKFS_DATA->storage()->destroy_chunk_space(in.path); } } catch(const gkfs::metadata::NotFoundException& e) { GKFS_DATA->spdlogger()->warn( "{}(): path '{}' message '{}'. Continuing, setting out.err 0.", __func__, in.path, e.what()); out.err = 0; } catch(const gkfs::metadata::DBException& e) { GKFS_DATA->spdlogger()->error("{}(): path '{}' message '{}'", __func__, in.path, e.what()); Loading Loading
src/daemon/backend/metadata/rocksdb_backend.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -145,7 +145,7 @@ void RocksDBBackend::remove_impl(const std::string& key) { auto s = db_->Delete(write_opts_, key); if(!s.ok() && !s.IsNotFound()) { if(!s.ok()) { throw_status_excpt(s); } } Loading
src/daemon/handler/srv_metadata.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -253,6 +253,11 @@ rpc_srv_remove_metadata(hg_handle_t handle) { GKFS_DATA->storage()->destroy_chunk_space(in.path); } } catch(const gkfs::metadata::NotFoundException& e) { GKFS_DATA->spdlogger()->warn( "{}(): path '{}' message '{}'. Continuing, setting out.err 0.", __func__, in.path, e.what()); out.err = 0; } catch(const gkfs::metadata::DBException& e) { GKFS_DATA->spdlogger()->error("{}(): path '{}' message '{}'", __func__, in.path, e.what()); Loading