dcapwell commented on code in PR #57:
URL: https://github.com/apache/cassandra-accord/pull/57#discussion_r1294914872
##########
accord-core/src/test/java/accord/impl/basic/NodeSink.java:
##########
@@ -33,11 +44,20 @@
import accord.messages.Reply;
import accord.messages.ReplyContext;
import accord.messages.Request;
+import com.google.common.collect.ImmutableSet;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
import static accord.impl.basic.Packet.SENTINEL_MESSAGE_ID;
+import static java.util.concurrent.TimeUnit.SECONDS;
public class NodeSink implements MessageSink
{
+ private static final boolean DEBUG = false;
+ private enum Action {DELIVER, DROP, DROP_PARTITIONED, FAILURE}
Review Comment:
hit a fault where we have 2 txn that got lost, so added what I was talking
about locally to improve debugging...
--
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]