belliottsmith commented on code in PR #6:
URL: https://github.com/apache/cassandra-accord/pull/6#discussion_r946490681
##########
accord-core/src/main/java/accord/impl/SimpleProgressLog.java:
##########
@@ -375,6 +377,8 @@ public String toString()
void recordBlocking(Command blocking, Keys someKeys)
{
this.blocking = blocking;
+ if (blocking.txn() != null &&
!blocking.txn().keys.containsAll(someKeys))
+ throw new IllegalStateException();
Review Comment:
I think this will only come up in BurnTests where it's easily reproducible,
and I think this line is being removed anyway in the next patch. But I'll add
some for now anyway.
--
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]