-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature(views-with-tablets): enable testing materialized views with t…
…ablets We plan to disallow materialized views in tablet keyspaces, until the remaining issues with them are resolved. For that, we've introduced the "views-with-tablets" experimental feature, so that they can be enabled regardless, for example for testing. Currently, the feature has no effect, but we want to prepare the cluster tests to use it, so that they won't start failing when it starts actually having an effect. While improving views with tablets, we should make sure that the existing tests keep passing, so we should run materialized view (and index) tests with tablets using the experimental feature. The feature doesn't affect tests ran on vnodes. For tablets, the tests would fail without the feature due to unsupported configuration. Considering that, we should enable the feature by default for all tests running on 2025.1 or later. The change includes: * adjusting experimental_features based on scylla version in sct_config, setting the new feature when running on 2025.1 or later * adding a new parameter "enable_views_with_tablets_on_upgrade". When it's set, we enable the new feature in upgrade_test.py after upgrading a node. Currently, there are no upgrade tests to 2025.1, so it isn't used * adding a config file configurations/enable_views_with_tablets_on_upgrade.yaml that enables the mentioned parameter without setting an env variable
- Loading branch information
Showing
5 changed files
with
23 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
enable_views_with_tablets_on_upgrade: true |
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