forked from yugabyte/yugabyte-db
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#16892] docdb: AutoFlags should provide the capability to en…
…able flags on Install scenarios only, but not upgrade Summary: This change adds a capability to enable auto flags on Install scenarios only, but not upgrade (so as to lower the risk of new big features like PackedRow, AutomaticTabletSplitting from being enabled automatically without explicit Customer knowledge, during an upgrade). - Added a new value `kNewInstallsOnly` to `AutoFlagClass` enum. - The new value `kNewInstallsOnly` restrict the set of auto flags that will be promoted during upgrade, to exclude the ones tagged as `kNewInstallsOnly`. Test Plan: ybd --cxx-test integration-tests_auto_flags-itest --gtest_filter AutoFlagsMiniClusterTest.NewCluster ybd --cxx-test integration-tests_auto_flags-itest --gtest_filter AutoFlagsMiniClusterTest.DisableAutoFlagManagement ybd --cxx-test integration-tests_auto_flags-itest --gtest_filter AutoFlagsMiniClusterTest.Promote ybd --cxx-test integration-tests_auto_flags-itest --gtest_filter AutoFlagsExternalMiniClusterTest.NewCluster ybd --cxx-test integration-tests_auto_flags-itest --gtest_filter AutoFlagsExternalMiniClusterTest.UpgradeCluster ybd --cxx-test tools_yb-admin-test --gtest_filter AdminCliTest.PromoteAutoFlags Reviewers: rthallam, hsunder Reviewed By: hsunder Subscribers: ybase, bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D24621
- Loading branch information
1 parent
e1d16ed
commit 5348eff
Showing
7 changed files
with
125 additions
and
47 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
Oops, something went wrong.