mirror of
https://github.com/scylladb/scylladb.git
synced 2026-04-25 19:10:42 +00:00
We should scan all sstables in the table directory and its subdirectories to determine the highest sstable version and generation before using it for creating new sstables (via reshard or reshape). Otherwise, the generations of new sstables created when populating staging (via reshard or reshape) may collide with generations in the base directory, leading to https://github.com/scylladb/scylladb/issues/11789 Refs scylladb/scylladb#11789 Fixes scylladb/scylladb#11793 Closes #11795 * github.com:scylladb/scylladb: distributed_loader: populate_column_family: reindent distributed_loader: coroutinize populate_column_family distributed_loader: table_population_metadata: start: reindent distributed_loader: table_population_metadata: coroutinize start_subdir distributed_loader: table_population_metadata: start_subdir: reindent distributed_loader: pre-load all sstables metadata for table before populating it