mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-29 11:10:40 +00:00
In next patches the entries having token on-board will be moved onto B+-tree rails. For this the int64_t value of the token will be used as B+ key, so prepare for this. One corner case -- the after_all_keys tokens must be resolved to int64::max value to appear at the "end" of the tree. This is not the same as "before_all_keys" case, which maps to the int64::min value which is not allowed for regular tokens. But for the sake of B+ switch this is OK, the conflicts of token raw values are explicitly resolved in next patches. Signed-off-by: Pavel Emelyanov <xemul@scylladb.com>