netudima commented on PR #4245:
URL: https://github.com/apache/cassandra/pull/4245#issuecomment-3094449185

   note: it looks like 
org.apache.cassandra.db.memtable.ShardBoundaries#toString is confusing about 
range boundaries, it prints right boundaries as inclusive but getShardForToken 
logic is actually left boundary inclusive:
   
   ```
   shard 0: (min, -3074457345618258603) shard 1: (-3074457345618258603, 
3074457345618258602] shard 2: (3074457345618258602, max)
   
   shardBoundaries.getShardForToken(shardBoundaries.boundaries[1]) returns 2
   ```


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