Fix return status of DBImpl::GetLatestSequenceForKey
Summary: Pull Request resolved: https://github.com/facebook/rocksdb/pull/4467 Differential Revision: D10241418 Pulled By: yiwu-arbug fbshipit-source-id: f6adbe7292b2c934e14971c7432b3eb115c35026
This commit is contained in:
parent
b787cf9e42
commit
7487a7628c
@ -2967,12 +2967,10 @@ Status DBImpl::GetLatestSequenceForKey(SuperVersion* sv, const Slice& key,
|
|||||||
ROCKS_LOG_ERROR(immutable_db_options_.info_log,
|
ROCKS_LOG_ERROR(immutable_db_options_.info_log,
|
||||||
"Unexpected status returned from Version::Get: %s\n",
|
"Unexpected status returned from Version::Get: %s\n",
|
||||||
s.ToString().c_str());
|
s.ToString().c_str());
|
||||||
|
|
||||||
return s;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return Status::OK();
|
return s;
|
||||||
}
|
}
|
||||||
|
|
||||||
Status DBImpl::IngestExternalFile(
|
Status DBImpl::IngestExternalFile(
|
||||||
|
Loading…
Reference in New Issue
Block a user