mirror of https://github.com/facebook/rocksdb.git
Revert an uncessary status code check skipping (#7458)
Summary: https://github.com/facebook/rocksdb/pull/7452 added an uncessary skip for status code checking. Revert it. Pull Request resolved: https://github.com/facebook/rocksdb/pull/7458 Test Plan: Watch CI to finish Reviewed By: jay-zhuang Differential Revision: D23994390 fbshipit-source-id: a2b50a6326d8073db3386bff3d32acc5a6666e9b
This commit is contained in:
parent
9d212d3f0e
commit
5f33436285
|
@ -1836,8 +1836,6 @@ void Version::Get(const ReadOptions& read_options, const LookupKey& k,
|
||||||
GetPerfLevel() >= PerfLevel::kEnableTimeExceptForMutex &&
|
GetPerfLevel() >= PerfLevel::kEnableTimeExceptForMutex &&
|
||||||
get_perf_context()->per_level_perf_context_enabled;
|
get_perf_context()->per_level_perf_context_enabled;
|
||||||
StopWatchNano timer(env_, timer_enabled /* auto_start */);
|
StopWatchNano timer(env_, timer_enabled /* auto_start */);
|
||||||
// Something feels not right here. Should investigate more.
|
|
||||||
status->PermitUncheckedError();
|
|
||||||
*status = table_cache_->Get(
|
*status = table_cache_->Get(
|
||||||
read_options, *internal_comparator(), *f->file_metadata, ikey,
|
read_options, *internal_comparator(), *f->file_metadata, ikey,
|
||||||
&get_context, mutable_cf_options_.prefix_extractor.get(),
|
&get_context, mutable_cf_options_.prefix_extractor.get(),
|
||||||
|
|
Loading…
Reference in New Issue