arjunashok opened a new pull request, #87:
URL: https://github.com/apache/cassandra-sidecar/pull/87

   …e partitioner's boundary for a single node clusters
   
   For single node clusters, the natural token range returned by the 
token-ranges endpoint looks like this (seems like an invalid range, without the 
partitioner’s minToken) -  [9223372036854775807, 9223372036854775807] . 
   Verified that this is what the storage-service range-endpoints JMX returns
   
   The contract for the token-ranges API is to make sure ranges are unwrapped 
around the partitioner’s min-max tokens, which is not honored for the above 
case. As a result, this is the fix in sidecar for the logic used to unwrap 
ranges.
   
   ### Testing
   - Added range validation checks for existing API response validation and 
additional test case to validate the fix.


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