dcapwell commented on code in PR #65:
URL: https://github.com/apache/cassandra-accord/pull/65#discussion_r1411399776


##########
accord-core/src/test/java/accord/Utils.java:
##########
@@ -118,6 +123,16 @@ public static Txn writeTxn(Ranges ranges)
         return new Txn.InMemory(ranges, MockStore.read(ranges), 
MockStore.QUERY, MockStore.update(ranges));
     }
 
+    public static Txn listWriteTxn(Node.Id client, Keys keys)
+    {
+        ListUpdate update = new ListUpdate(Function.identity());
+        for (Key k : keys)
+            update.put(k, 1);

Review Comment:
   tested, we do just append, so this is actually safe...



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