Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public VectorMemoryIndex(StorageAttachedIndex index, Memtable memtable)
}

@Override
public synchronized long add(DecoratedKey key, Clustering<?> clustering, ByteBuffer value)
public long add(DecoratedKey key, Clustering<?> clustering, ByteBuffer value)
{
if (value == null || value.remaining() == 0 || !index.validateTermSize(key, value, false, null))
return 0;
Expand Down Expand Up @@ -146,7 +146,7 @@ public long update(DecoratedKey key, Clustering<?> clustering, ByteBuffer oldVal
return bytesUsed;
}

private void updateKeyBounds(PrimaryKey primaryKey)
private synchronized void updateKeyBounds(PrimaryKey primaryKey)
{
if (minimumKey == null)
minimumKey = primaryKey;
Expand Down