mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-20 08:30:35 +00:00
This patch fixes 2 issues at one go:
First, Currently sstables::load clears the sharding metadata
(via open_data()), and so scylla-sstable always prints
an empty array for it.
Second, printing token values would generate invalid json
as they are currently printed as binary bytes, and they
should be printed simply as numbers, as we do elsewhere,
for example, for the first and last keys.
Fixes #26982
Signed-off-by: Benny Halevy <bhalevy@scylladb.com>
Closes scylladb/scylladb#26991
(cherry picked from commit f9ce98384a)
Closes scylladb/scylladb#27042