mirror of
https://github.com/apple/foundationdb.git
synced 2025-06-02 11:15:50 +08:00
Update fdbclient/ReadYourWrites.actor.cpp
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
This commit is contained in:
parent
94563464cb
commit
d5cc2beb5f
@ -1385,7 +1385,7 @@ void ReadYourWritesTransaction::updateConflictMap( KeyRef const& key, WriteMap::
|
||||
//it.skip( key );
|
||||
//ASSERT( it.beginKey() <= key && key < it.endKey() );
|
||||
if( it.is_unmodified_range() || ( it.is_operation() && !it.is_independent() ) ) {
|
||||
approximateSize += key.expectedSize() + sizeof(KeyRangeRef);
|
||||
approximateSize += 2 * key.expectedSize() + 1 + sizeof(KeyRangeRef);
|
||||
readConflicts.insert( singleKeyRange( key, arena ), true );
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user