mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-06 23:13:15 +00:00
Currently, in repair_service::repair_tablets a shard that initiates the repair keeps tablet_repair_task_meta of all tablets that have a replica on this node (on any shard). This may lead to oversized allocations. Add remote_metas class which takes care of distributing tablet_repair_task_meta among different shards. An additional class remote_metas_builder was added in order to ensure safety and separate writes and reads to meta vectors. Fixes: #23632