• Justin Santa Barbara's avatar
    AWS: More robust volume-mount poll · 3688dc4a
    Justin Santa Barbara authored
    When we are mounting a lot of volumes, we frequently hit rate limits.
    
    Reduce the frequency with which we poll the status; introduces a bit of
    latency but probably matches common attach times pretty closely, and
    avoids causing rate limit problems everywhere.
    
    Also, we now poll for longer, as when we timeout, the volume is in an
    indeterminate state: it may be about to complete.  The volume controller
    can tolerate a slow attach/detach, but it is harder to tolerate the
    indeterminism.
    
    Finally, we ignore a sequence of errors in DescribeVolumes (up to 5 in a
    row currently).  So we will eventually return an error, but a one
    off-failure (e.g. due to rate limits) does not cause us to spuriously
    fail.
    3688dc4a
Name
Last commit
Last update
.github Loading commit data...
Godeps Loading commit data...
api/swagger-spec Loading commit data...
build Loading commit data...
cluster Loading commit data...
cmd Loading commit data...
contrib Loading commit data...
docs Loading commit data...
examples Loading commit data...
federation Loading commit data...
hack Loading commit data...
hooks Loading commit data...
logo Loading commit data...
pkg Loading commit data...
plugin Loading commit data...
staging Loading commit data...
test Loading commit data...
third_party Loading commit data...
vendor Loading commit data...
www Loading commit data...
.generated_docs Loading commit data...
.gitignore Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIB.md Loading commit data...
CONTRIBUTING.md Loading commit data...
DESIGN.md Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.generated_files Loading commit data...
OWNERS Loading commit data...
README.md Loading commit data...
Vagrantfile Loading commit data...
code-of-conduct.md Loading commit data...
labels.yaml Loading commit data...