mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 13:37:04 +00:00
tablet_repair_task_impl keeps a vector of tablet_repair_task_meta, each of which keeps an effective_replication_map_ptr. So, after the task completes, the token metadata version will not change for task_ttl seconds. Implement tablet_repair_task_impl::release_resources method that clears tablet_repair_task_meta vector when the task finishes. Set task_ttl to 1h in test_tablet_repair to check whether the test won't time out. Fixes: #21503. Closes scylladb/scylladb#21504