• 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
..
OWNERS Loading commit data...
aws.go Loading commit data...
aws_instancegroups.go Loading commit data...
aws_loadbalancer.go Loading commit data...
aws_routes.go Loading commit data...
aws_test.go Loading commit data...
aws_utils.go Loading commit data...
log_handler.go Loading commit data...
retry_handler.go Loading commit data...
retry_handler_test.go Loading commit data...
sets_ippermissions.go Loading commit data...