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