-
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.
[PLAT-13438]: Add support for preview gflags
Summary: Added support for preview gFlags in YBA. As part of this change, - We have added validation in BE to ensure that the user should set the preview flag name in the allowed_preview_flags_csv flag. - Added changes in the validate gflags API used by UI to catch this issue earlier in UI, even before the actual upgrade trigger. - While setting the gflags in memory, we will first set the allowed_preview_flags_csv if it exists and then put the remaining gflags so that DB servers can accept them. Test Plan: Tested manually by setting a preview flag successfully when the flag is passed in allowed_preview_flags_csv and verified that the request is rejected if we do not put it in allowed_preview_flags_csv. Also, verified that allowed_preview_flags_csv is set first when exists during a non-restart upgrade through logs and Java debugger. Reviewers: yshchetinin, sanketh Reviewed By: yshchetinin Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D36687
- Loading branch information
Showing
13 changed files
with
399 additions
and
19 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
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.