Remove unnecessary code
This commit is contained in:
parent
ec9553b6c6
commit
b495c8a664
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue