dcapwell commented on code in PR #2339:
URL: https://github.com/apache/cassandra/pull/2339#discussion_r1195690390
##########
src/java/org/apache/cassandra/service/accord/AccordKeyspace.java:
##########
@@ -537,6 +581,20 @@ public static Mutation
getCommandMutation(AccordCommandStore commandStore, Accor
}
}
+ public static ByteBuffer serializeToken(Token token)
+ {
+ return serializeToken(token, ByteBufferAccessor.instance);
+ }
+
+ private static <V> V serializeToken(Token token, ValueAccessor<V> accessor)
Review Comment:
I could have written this off `ByteBuffer`, but had to do a lot of
`ValueAccessor` work recently so was more habit than anything
--
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]