Skip to content

Commit

Permalink
remove redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
Ami11111 committed Oct 10, 2024
1 parent 44601c8 commit d11204c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/storage/persistence/persist_result_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ void PersistResultHandler::HandleWriteResult(const PersistWriteResult &result) {
}

ObjAddr PersistResultHandler::HandleReadResult(const PersistReadResult &result) {
if(!result.cached_ and result.obj_addr_.Valid()){
String read_path = pm_->GetObjPath(result.obj_addr_.obj_key_);
VirtualStore::DownloadObject(read_path, read_path);
}
if (!result.cached_) {
UnrecoverableError(fmt::format("HandleReadResult: object {} is not cached", result.obj_addr_.obj_key_));
}
Expand Down

0 comments on commit d11204c

Please sign in to comment.