-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…gs comprehensively across multiple callsites in YBA Summary: Add the gflags belonging to the group in the `getGFlagsForAZ` function to trigger node restarts on GFlag upgrades. If the user provides values belonging to the group in the user intent, the values are overridden by the group values and user intent is untouched. Test Plan: 1. Create universe with `ENHANCED_POSTGRES_COMPATIBILTY` group added and verify that the `tserver/conf/server.conf` have correct values of the flag 2. Run a GFlag Upgrade on the above universe to verify user gflags are added to the list 3. Run a GFlag Upgrade to remove the gflag group from the list and verify if all flags belonging to the group are removed. 4. Create a universe with user gflags and gflag group added and verify both of them are correctly merged in the server configuration file. 5. Add a node to the above universe to verify new nodes have the correct gflags. 6. Create a universe with `perAZ` overrides and gflag groups and ensure the user gflags from `perAZ` and the gflag group values correctly override the `perProcessFlags` block 7. Create a universe with groups disabled and run a GFlags upgrade to ensure gflags are correctly applied. 8. Add group gflag as user gflags with different values and verify that the group values are added if group is enabled. Make sure User intent is the same Reviewers: #yba-api-review!, sneelakantan, vbansal, yshchetinin Reviewed By: yshchetinin Subscribers: nbhatia, yugaware Differential Revision: https://phorge.dev.yugabyte.com/D36623
- Loading branch information
Showing
6 changed files
with
72 additions
and
189 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
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.