scylla-manager
scylla-manager copied to clipboard
Use small_table_optimization in repair
This PR utilizes the small_table_optimization param in repair API which allows SM to repair the whole table with just one API call. It should bring significant improvements when repairing smaller tables.
As we can't check supported API parameters on Scylla side, we need to rely on checking Scylla version. At the beginning I wanted to set required version to at least 6.0 or 2024.2, but Scylla nightly is considered to be 5.5, so the last TODO commit lowers the requirement to 5.5 in order to run the tests.
Fixes #3642
Note: small_table_optimization
doesn't work with tablets.
@karol-kokoszka PR is ready for review.
Ref for Scylla versions constraints: https://github.com/scylladb/scylla-enterprise/issues/4140#issuecomment-2095497858.