dcapwell commented on code in PR #4556:
URL: https://github.com/apache/cassandra/pull/4556#discussion_r2683857711
##########
src/java/org/apache/cassandra/metrics/TopPartitionTracker.java:
##########
@@ -245,7 +250,8 @@ private void track(TopPartition tp)
top.add(tp);
while (top.size() > maxTopPartitionCount)
{
- top.pollLast();
+ TopPartition p = top.pollLast();
+ lookup.remove(p.key);
Review Comment:
you remove from the lookup but you don't add?
--
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]