-
Notifications
You must be signed in to change notification settings - Fork 740
add feature flag: enable olap tiering #8719
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
add feature flag: enable olap tiering #8719
Conversation
|
⚪ ⚪
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
ebca912 to
4843018
Compare
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
7db45c1 to
23065e7
Compare
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪ Details
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
23065e7 to
43542d1
Compare
|
⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
⚪ ⚪
🟢
*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation |
|
|
||
| const bool hasTiering = Transaction.HasAlterColumnTable() && Transaction.GetAlterColumnTable().HasAlterTtlSettings() && | ||
| Transaction.GetAlterColumnTable().GetAlterTtlSettings().HasUseTiering(); | ||
| if (hasTiering && HasAppData() && !AppDataVerified().FeatureFlags.GetEnableTieringInColumnShard()) { |
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.
HasAppData() && !AppDataVerified() -- лишняя защита, здесь мы заведомо находимся в контексте акторной системы.
В других подобных местах так не делается.
|
|
||
| const bool hasTiering = Transaction.HasAlterColumnTable() && Transaction.GetAlterColumnTable().HasAlterTtlSettings() && | ||
| Transaction.GetAlterColumnTable().GetAlterTtlSettings().HasUseTiering(); | ||
| if (hasTiering && HasAppData() && !AppDataVerified().FeatureFlags.GetEnableTieringInColumnShard()) { |
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.
Таким образом использующийся флаг будет нельзя менять в runtime -- только через рестарт нод базы
Conflicts: ydb/core/protos/feature_flags.proto ydb/core/testlib/basics/feature_flags.h
Conflicts: ydb/core/protos/feature_flags.proto ydb/core/testlib/basics/feature_flags.h
Conflicts: ydb/core/protos/feature_flags.proto
Conflicts: ydb/core/protos/feature_flags.proto
Uh oh!
There was an error while loading. Please reload this page.