Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
Description
The definition of next for a byte key is incorrectly set as old key + 1 when treating the key as the next smallest value, for example
0x01 is the next key for 0x00
The ByteKey compareTo operator treats two keys where one key is the proper prefix of the other as smaller hence 0x01 is greater then 0x00, but so is 0x0000 thus next is skipping over 0x0000 as the next smallest key larger then 0x00.
Attachments
Issue Links
- breaks
-
BEAM-4018 Add a ByteKeyRangeTracker based on RestrictionTracker for SDF
- Resolved
- links to