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


##########
src/java/org/apache/cassandra/schema/TableId.java:
##########
@@ -170,7 +164,8 @@ public UUID asUUID()
     @Override
     public int hashCode()
     {
-        return Hashing.hash(msb ^ lsb);
+        long hilo = msb ^ lsb;
+        return ((int)(hilo >> 32)) ^ (int) hilo;

Review Comment:
   reverted to the previous logic.  Reading the code `Hashing.hash` would alter 
the hash code, so figured safest to just keep it matching `UUID`



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