-
Notifications
You must be signed in to change notification settings - Fork 807
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
Batch polling of DescribeVolumesModifications #1965
Batch polling of DescribeVolumesModifications #1965
Conversation
Code Coverage Diff
|
/hold Holding to avoid merge conflicts for #1963 |
Reviewing after PR is rebased post SDK changes. |
Response to my question about when I should expect a review on this PR. |
f89f3b6
to
0ccce07
Compare
2cfbcb3
to
d167578
Compare
d167578
to
862210c
Compare
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.
mostly lgtm, see below
862210c
to
9f64d48
Compare
9f64d48
to
5cca843
Compare
/unhold |
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
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ConnorJC3 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 |
Is this a bug fix or adding new feature?
Feature
What is this PR about? / Why do we need it?
Coalesces EC2 DescribeVolumesModifications (DVM) polling across ControllerExpandVolume/ControllerModifyVolume/ModifyVolume RPCs by volumeID.
This decreases the likelihood of being exceeding one's Non-mutating API request token limit when modifying many volumes at once, which may impact all driver RPCs (ie being throttled for making too manyDescribe* calls).
Note: We do not batch any DVM call that we are unsure if a volume modification has been made for, due to undocumented behavior of a an error being returned if any volume queried for has never been modified.
What testing is done?
CI
Rested that VAC based modify volume batches DescribeVolumeModifications at scale. See Data/Impact section below.
Data/Impact
900 Modified PVCs over 60 seconds across 52 nodes (100Gi increase)
Note: All examples included 900 non-batchable DescribeVolumesModification calls.
200 Modified PVCs over 60 seconds across 12 nodes (100Gi increase)
Note: Both examples include 200 non-batchable DescribeVolumesModification calls.