Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge 'Validate compaction strategy options' from Aleksandra Martyniuk
When a column family's schema is changed new compaction strategy type may be applied. To make sure that it will behave as expected, compaction strategy need to contain only the allowed options and values. Methods throwing exception on invalid options are added. Fixes: #2336. Closes #13956 * github.com:scylladb/scylladb: test: add test for compaction strategy validation compaction: unify exception messages compaction: cql3: validate options in check_restricted_table_properties compaction: validate options used in different compaction strategies compaction: validate common compaction strategy options compaction: split compaction_strategy_impl constructor compaction: validate size_tiered_compaction_strategy specific options compaction: validate time_window_compaction_strategy specific options compaction: add method to validate min and max threshold compaction: split size_tiered_compaction_strategy_options constructor compaction: make compaction strategy keys static constexpr compaction: use helpers in validate_* functions compaction: split time_window_compaction_strategy_options construtor compaction: add validate method to compaction_strategy_options time_window_compaction_strategy_options: make copy and move-able size_tiered_compaction_strategy_options: make copy and move-able
- Loading branch information
Showing
9 changed files
with
372 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.