scylladb / scylla-manager

The Scylla Manager
https://manager.docs.scylladb.com/stable/
Other
48 stars 33 forks source link

Use small_table_optimization in repair #3824

Closed Michal-Leszczynski closed 1 month ago

Michal-Leszczynski commented 2 months ago

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.

Fixes #3642

Michal-Leszczynski commented 2 months ago

Note: small_table_optimization doesn't work with tablets.

Michal-Leszczynski commented 2 months ago

@karol-kokoszka PR is ready for review.

Michal-Leszczynski commented 1 month ago

Ref for Scylla versions constraints: https://github.com/scylladb/scylla-enterprise/issues/4140#issuecomment-2095497858.