fix merge conflict

This commit is contained in:
chaoguang 2020-03-31 18:49:59 -07:00
parent a63f8b839c
commit 863ebc2d6d
1 changed files with 0 additions and 3 deletions

View File

@ -1280,13 +1280,11 @@ Future< Standalone<RangeResultRef> > ReadYourWritesTransaction::getRange(
}
}
<<<<<<< HEAD
// start with simplest point, special key space are only allowed to query if both begin and end start with \xff\xff
const KeyRef specialKeyPrefix = systemKeys.end;
if (begin.getKey().startsWith(specialKeyPrefix) && end.getKey().startsWith(specialKeyPrefix))
return getDatabase()->specialKeySpace->getRange(Reference<ReadYourWritesTransaction>(this), begin, end, limits, snapshot, reverse);
=======
// Use special key prefix "\xff\xff/transaction/conflicting_keys/<some_key>",
// to retrieve keys which caused latest not_committed(conflicting with another transaction) error.
// The returned key value pairs are interpretted as :
@ -1323,7 +1321,6 @@ Future< Standalone<RangeResultRef> > ReadYourWritesTransaction::getRange(
}
}
>>>>>>> upstream/master
if(checkUsedDuringCommit()) {
return used_during_commit();
}