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


##########
src/java/org/apache/cassandra/service/accord/api/AccordRoutingKey.java:
##########
@@ -204,8 +203,7 @@ public Range asRange()
 
         static
         {
-            Token key = 
getPartitioner().decorateKey(ByteBufferUtil.EMPTY_BYTE_BUFFER).getToken();
-            EMPTY_SIZE = ObjectSizes.measureDeep(new TokenKey(null, key));
+            EMPTY_SIZE = ObjectSizes.measure(new TokenKey(null, null));

Review Comment:
   hah this change will allow several tests to avoid setting up 
DatabaseDescriptor...



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