mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 02:50:33 +00:00
It has been determined that we will store partition_keys in the decorated_keys. That is totally fine, but the token needs to be generatable from an sstable::key as well. Since both types convert well to a bytes_view - and the first thing get_token() does is precisely to generate that view, let's generate the token from a bytes_view instead. Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>