Remove unnecessary code

This commit is contained in:
Chaoguang Lin 2020-07-24 12:25:03 -07:00
parent ec9553b6c6
commit b495c8a664
1 changed files with 1 additions and 3 deletions

View File

@ -861,9 +861,7 @@ Future<Standalone<RangeResultRef>> FailedServersRangeImpl::getRange(ReadYourWrit
}
void FailedServersRangeImpl::set(ReadYourWritesTransaction* ryw, const KeyRef& key, const ValueRef& value) {
// TODO : check key / value valid
Value val(value);
ryw->getSpecialKeySpaceWriteMap().insert(key, std::make_pair(true, Optional<Value>(val)));
ryw->getSpecialKeySpaceWriteMap().insert(key, std::make_pair(true, Optional<Value>(value)));
}
void FailedServersRangeImpl::clear(ReadYourWritesTransaction* ryw, const KeyRef& key) {