Skip to content
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

V1.59.0 stage #3124

Merged
merged 4 commits into from
Feb 9, 2022
Merged

V1.59.0 stage #3124

merged 4 commits into from
Feb 9, 2022

Conversation

YashdalfTheGray
Copy link
Contributor

Summary

Stage 1.59.0 release

Changelog

  • Feature - prevent instances in EC2 Autoscaling warm pool from being registered with cluster #3123
  • Enhancement - DiscoverPollEndpoint: lengthen cache ttl and improve resiliency #3109

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

amazon-ecs-bot and others added 4 commits January 20, 2022 07:26
…3109)

The acs/tacs endpoints that ecs agent connects have never changed
before, so the current behavior of calling the API every 20 minutes is
not necessary. Lengthening this cache TTL to 12 hours will reduce load
on the ECS service and reduce the chance of customers being throttled.

Additionally, the LRU cache we were using automatically evicted any
value once it expired. This means that this API call could become a
source of complete ecs agent failure in the event of an LSE, in the
event that agent threw away it's cached endpoint and then failed to get
a new one via DiscoverPollEndpoint.

By keeping expired values in the cache, we can fallback to use the
expired value in the event that the DiscoverPollEndpoint API is failing,
thus keeping agent connected to ACS and TACS.
… being registered with the cluster (aws#3123)

Co-authored-by: Lydia Filipe <fillydia@amazon.com>
@YashdalfTheGray YashdalfTheGray added this to the 1.59.0 milestone Feb 4, 2022
@YashdalfTheGray YashdalfTheGray added the staging Trigger staging workflow label Feb 4, 2022
@amazon-ecs-bot amazon-ecs-bot merged commit ed81f6b into aws:master Feb 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
staging Trigger staging workflow
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants