-
Notifications
You must be signed in to change notification settings - Fork 101
fix(LoaderUtilsMixin): table_enabled was allways True as this feature is allways enabled #9993
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
Conversation
85b7e9a
to
4b4a5d5
Compare
9861338
to
dd074e0
Compare
Is the case where tablets are enabled globally but disabled on the test keyspace something to be considered? |
Afaik, tablets are enabled by default from 6.2 (or so). When |
@jsmolar there are plenty of unrelated formatting changes which blur the review process. Please try not doing that if not necessary. |
… is enabled Enabling/disabling tablets was changed. Now we have to check scylla yaml or keystore schema. For more info see - scylladb/scylladb#21451 - scylladb/scylladb#21614
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after reading more details in referenced PR's my understanding is:
- we still have to query if tablets are enabled for 6.1/2 and 2024.1/2 - we didn't backport config param meaning there. I don't see the point of changing current implementation regards that.
enable_tablets
config meaning changed only for dev/2025.1 - for this we should have a method/function to determine if tablets are enabled by default for new keyspaces (if we need it anywhere). So we should have new function:is_tablet_default
.- for versions >= 2025.1
is_tablets_feature_enabled
can just returnTrue
and skip verifying features.
@soyacz I agree with all those suggestions, but we need a hotfix first for testing 2025.1, as currently some nemesis are skipped even on Vnode runs because this check is now outdated. So I propose merging this (If it works ofc) and then immediately start working on a much better and comprehensive solution. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@soyacz I agree with all those suggestions, but we need a hotfix first for testing 2025.1, as currently some nemesis are skipped even on Vnode runs because this check is now outdated. So I propose merging this (If it works ofc) and then immediately start working on a much better and comprehensive solution.
Ok.
@pehala please create issue that will take above considerations.
Actually, problem is deeper if we want to test both vnodes and tablets in one test. Basically, we should have 3 methods: is_tablets_feature_enabled
(soon to be obsolete), is_tablets_default
and is_tablets_used
(still test may use tablets despite of tablets default set to false
).
@jsmolar please let us know if the most recent push was tested
Ok, now I understand why this run fails https://jenkins.scylladb.com/job/scylla-staging/job/LakshmipathiGanapathi/job/longevity-counters-3h-test/14/console with message |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
I created issue for this: #10168 |
Enabling/disabling tablets was changed. Now we have to check scylla yaml or keystore schema.
For more info see
Testing
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)