Skip to content

Conversation

@glenn-kim
Copy link
Member

After updating grpc version to latest, ResolveNow is called when connection is closing.
It can cause a lot of cloudmap calls when networking issue : for example, all of target close connection when rollout with blue-green strategy.

To avoid this problem, this PR changes resolving cloudmap to critical section to allow only one thread to call cloud map, and early-return other threads until it is done.

@glenn-kim glenn-kim requested a review from KimMachineGun July 13, 2023 01:58
Copy link
Contributor

@KimMachineGun KimMachineGun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@glenn-kim glenn-kim merged commit 01012f2 into main Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants