adelapena commented on code in PR #2673:
URL: https://github.com/apache/cassandra/pull/2673#discussion_r1333470251
##########
src/java/org/apache/cassandra/index/sai/StorageAttachedIndex.java:
##########
@@ -664,7 +712,7 @@ public void insertRow(Row row)
@Override
public void updateRow(Row oldRow, Row newRow)
{
- insertRow(newRow);
+ indexContext.getMemtableIndexManager().update(key, oldRow, newRow,
memtable);
Review Comment:
This was using `insertRow`, which calls `adjustMemtableSize`. Don't we need
that here too?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]