-
Notifications
You must be signed in to change notification settings - Fork 65
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 namespace_delete_delay option to DeleteNamespaceRequest #343
Conversation
@@ -74,6 +75,9 @@ message DeleteNamespaceRequest { | |||
// Only one of namespace or namespace_id must be specified to identify namespace. | |||
string namespace = 1; | |||
string namespace_id = 2; | |||
// If provided, the deletion of namespace info will be delayed for given duration (0 means no delay). | |||
// If not provided, use default delay configured in the cluster. | |||
google.protobuf.Duration namespace_delete_delay = 3; |
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.
It is already in DeleteNamespaceRequest
. I would call it just delay
.
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.
delay may cause confusion that the whole deletion was delayed, which isn't the case (WF will be still deleted immediately).
// If provided, the deletion of namespace info will be delayed for given duration (0 means no delay). | ||
// If not provided, use default delay configured in the cluster. |
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.
// If provided, the deletion of namespace info will be delayed for given duration (0 means no delay). | |
// If not provided, use default delay configured in the cluster. | |
// If provided, the deletion of namespace info will be delayed for given duration (0 means no delay). | |
// If not provided, the default delay configured in the cluster will be used. |
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
What changed?
Why?
So we can override DeleteNamespaceNamespaceDeleteDelay dynamic config setting for deleting namespace info.
Breaking changes