dcapwell commented on code in PR #4107: URL: https://github.com/apache/cassandra/pull/4107#discussion_r2056685207
########## test/distributed/org/apache/cassandra/distributed/test/cql3/StatefulASTBase.java: ########## @@ -449,6 +563,21 @@ protected void compact() numCompact++; } + protected void repair() + { + if (mutationsSinceLastFlush > 0) + flush(); + + numRepairs++; + mutationsSinceLastRepair = 0; + flushesSinceLastRepair = 0; + } + + protected boolean isConsistent() + { + return mutationsSinceLastRepair == 0; Review Comment: this isn't actually true... if you repair a single token then only that token is consistent... -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org