mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 12:06:44 +00:00
before this change, `scylla sstable shard-of` didn't support tablets, because: - with tablets enabled, data distribution uses the scheduler - this replaces the previous method of mapping based on vnodes and shard numbers - as a result, we can no longer deduce sstable mapping from token ranges in this change, we: - read `system.tablets` table to retrieve tablet information - print the tablet's replica set (list of <host, shard> pairs) - this helps users determine where a given sstable is hosted This approach provides the closest equivalent functionality of `shard-of` in the tablet era. Fixes scylladb/scylladb#16488 --- no need to backport, it's an improvement, not a critical fix. Closes scylladb/scylladb#20002 * github.com:scylladb/scylladb: tools: enhance `scylla sstable shard-of` to support tablets replica/tablets: extract tablet_replica_set_from_cell() tools: extract get_table_directory() out tools: extract read_mutation out build: split the list of source file across multiple line tools/scylla-sstable: print warning when running shard-of with tablets