dcapwell commented on code in PR #2339:
URL: https://github.com/apache/cassandra/pull/2339#discussion_r1195689180


##########
src/java/org/apache/cassandra/service/accord/AccordKeyspace.java:
##########
@@ -156,12 +174,33 @@ ImmutableSortedMap<Timestamp, ByteBuffer> 
getValues(CommandsForKey cfk)
         }
     }
 
+    private enum TokenType
+    {
+        Murmur3((byte) 1),
+        ;
+
+        private final byte value;

Review Comment:
   my thinking is that a `murmur3` token can't compare with a `bytes order` 
token, so by pulling out the `type` as the bytes prefix, we know that only 
`murmur3` tokens will be seen during the query if the range is for a `murmur3` 
token range



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