-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
migrate experimental-stop-grpc-service-on-defrag flag to feature gate. #18359
Conversation
5120ce4
to
5b1940d
Compare
/cc @serathius @ahrtr @fuweid |
server/embed/config.go
Outdated
// SetFeatureGatesFromExperimentalFlags sets the feature gate values if the feature gate is not explicitly set | ||
// while their corresponding experimental flags are explicitly set. | ||
// TODO: remove after all experimental flags are deprecated. | ||
func SetFeatureGatesFromExperimentalFlags(fg featuregate.FeatureGate, getExperimentalFlagVal func(string) (bool, bool), featureGatesFlagName, featureGatesVal string) error { |
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.
Mark as deprecated? so it's clear it's not assumed to be the recommended option for new flags.
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.
Marking ExperimentalFlagToFeatureMap
as deprecated, because that's where the actual experimental features are added.
1f09b93
to
95a1c65
Compare
/retest |
eef3b6f
to
ffb03a2
Compare
398ee0b
to
89ab950
Compare
/retest |
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
Signed-off-by: Siyuan Zhang <[email protected]>
/retest |
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
Thanks
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ahrtr, fuweid, serathius, siyuanfoundation The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.
part of #18023, an example of basic wiring from an existing experimental feature flag to the new feature gate.
final step of of breaking up #18234 into smaller PRs.