ASSERT(!tr.options.checkWritesEnabled)

This commit is contained in:
Andrew Noyes 2020-04-29 18:59:51 +00:00
parent ff2e82c7b2
commit 3ddb0594c2
1 changed files with 1 additions and 0 deletions

View File

@ -1544,6 +1544,7 @@ void ReadYourWritesTransaction::getWriteConflicts( KeyRangeMap<bool> *result ) {
}
Standalone<RangeResultRef> ReadYourWritesTransaction::getReadConflictRangeIntersecting(KeyRangeRef kr) {
ASSERT(!tr.options.checkWritesEnabled)
Standalone<RangeResultRef> result;
auto iter = readConflicts.rangeContainingKeyBefore(kr.begin);
if (iter->begin() == allKeys.begin && !iter->value()) {