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:
DorianZheng 2018-10-08 14:20:05 -07:00 committed by Facebook Github Bot
parent b787cf9e42
commit 7487a7628c

View File

@ -2967,12 +2967,10 @@ Status DBImpl::GetLatestSequenceForKey(SuperVersion* sv, const Slice& key,
ROCKS_LOG_ERROR(immutable_db_options_.info_log,
"Unexpected status returned from Version::Get: %s\n",
s.ToString().c_str());
return s;
}
}
return Status::OK();
return s;
}
Status DBImpl::IngestExternalFile(