dcapwell commented on code in PR #2339:
URL: https://github.com/apache/cassandra/pull/2339#discussion_r1203158619


##########
test/unit/org/apache/cassandra/cql3/PreparedStatementsTest.java:
##########
@@ -772,8 +773,11 @@ private static List<String> columnNames(ResultSet rs)
         return rs.getColumnDefinitions().asList().stream().map(d -> 
d.getName()).collect(Collectors.toList());
     }
 
-    private static void updateTxnState()
+    private void updateTxnState()
     {
+        // this class keeps dropping tables, so the commands_for_keys cache 
points to stale data
+        AccordKeyspace.truncateTables();

Review Comment:
   I think it was fixed by the change to ignore unknown ranges... if I remove 
the tests still pass



-- 
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]

Reply via email to