-
Notifications
You must be signed in to change notification settings - Fork 241
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
disk: block for 1s when conflicting #1190
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: huww98 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
ddb887d
to
78cd26a
Compare
Only 5 concurrent detach is allowed by ECS. So limit that at our side to avoid too many conflicts.
Delay the response is not ideal (for potential timeout, especially combined with #1218), maybe we should find another way. |
If we receive certain error from ECS, we can block retry this node for some time, to avoid too much useless OpenAPI call.
Avoid too much useless retry when conflicting. Return success when already detached.
to avoid too many useless requests
78cd26a
to
b241427
Compare
based on #1216 , so merge after it. |
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Avoid too much useless retry when conflicting.
Return success when already detached.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: