mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-12 19:02:12 +00:00
This adds a new tablet migration kind: repair. It allows tablet repair scheduler to use this migration kind to schedule repair jobs. The current repair scheduler implementation does the following: - A tablet is picked to be repaired when is requested by user - The tablet repair can be scheduled along with tablet migration and rebuild. It runs in the tablet_migration track. - Repair jobs are scheduled in a smart way so that at any point in time, there are no more than configured jobs per shard, which is similar to scylla manager's control. New feature. No backport is needed. Closes scylladb/scylladb#21088 * github.com:scylladb/scylladb: test: Add tests for tablet repair scheduler repair: Add restful API for tablet repair repair: Add tablet repair scheduler internal API support docs: Update system_keyspace.md for tablet repair related info docs: Add docs for tablet repair migration repair: Add core tablet repair scheduler support messaging_service: Introduce TABLET_REPAIR verb tablet_allocator: Introduce stream_weight for tablet_migration_streaming_info network_topology_strategy: Preserve fields of task_info in reallocate_tablets