Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature(views-with-tablets): enable testing materialized views with tablets #9615

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wmitros
Copy link

@wmitros wmitros commented Dec 24, 2024

Materialized views are currently not allowed in tablet keyspaces, due to some pending issues. However, they can be enabled using the "views-with-tablets" experimental feature.

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 (with a special consideration to upgrade tests).

The change includes:

  • modifying the default experimental_features in defaults/test_default.yaml
  • updating json results for YAML tests accordingly to the new default
  • updating upgrade tests - for upgrades, the first version with this experimental feature will be 2025.1, so the upgrade tests are updated to remove this feature from the defaults and to set it when upgrading to 2025.1 or higher. When testing upgrades to future versions, we'll need to keep the experimental_feature also for base version, with an exception for sequential upgrades, (currently we only have 2021.1->2022.1->2023.1 test in test_custom_profile_sequential_rolling_upgrade) where the base version of the sequence might not have this experimental feature, so we'll need to adjust it accordingly.

@wmitros wmitros added the backport/none Backport is not required label Dec 24, 2024
@wmitros
Copy link
Author

wmitros commented Dec 24, 2024

Looks like yaml tests aren't using the default configurations, fixed in rebase

…ablets

Materialized views are currently not allowed in tablet keyspaces, due to some
pending issues. However, they can be enabled using the "views-with-tablets" experimental feature.

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 (with a special consideration
to upgrade tests).

The change includes:
* modifying the default experimental_features in defaults/test_default.yaml
* updating upgrade tests - for upgrades, the first version with this experimental feature will
be 2025.1, so the upgrade tests are updated to remove this feature from the defaults and to set
it when upgrading to 2025.1 or higher. When testing upgrades to future versions, we'll need to
keep the experimental_feature also for base version, with an exception for sequential upgrades,
(currently we only have 2021.1->2022.1->2023.1 test in test_custom_profile_sequential_rolling_upgrade)
where the base version of the sequence might not have this experimental feature, so we'll need
to adjust it accordingly.
@wmitros
Copy link
Author

wmitros commented Jan 7, 2025

Refs scylladb/scylladb#21832

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/none Backport is not required
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant