Details
-
Bug
-
Status: Resolved
-
Low
-
Resolution: Fixed
-
None
-
None
-
Low
Description
get_range_slices assumes that Tokens do not collide and converts a KeyRange to an AbstractBounds. For RandomPartitioner, this assumption isn't safe, and would lead to a very weird heisenberg.
Converting AbstractBounds to use a DecoratedKey would solve this, because the byte[] key portion of the DecoratedKey can act as a tiebreaker. Alternatively, we could make DecoratedKey extend Token, and then use DecoratedKeys in places where collisions are unacceptable.
Attachments
Attachments
Issue Links
- blocks
-
CASSANDRA-1600 Merge get_indexed_slices with get_range_slices
- Resolved
- is related to
-
CASSANDRA-1978 get_range_slices: allow key and token to be interoperable
- Resolved
- relates to
-
CASSANDRA-1205 Unify Partitioners and AbstractTypes
- Resolved