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

dynamic_forward_proxy: DNS Cache circuit breaker #11028

Merged
merged 64 commits into from
Jul 1, 2020

Conversation

Shikugawa
Copy link
Member

@Shikugawa Shikugawa commented May 1, 2020

Signed-off-by: shikugawa [email protected]

For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md

Commit Message: In the current implementation of the DNS cache, circuit breaker is derived from cluster config. It seems unnatural. In this PR, I implemented the DNS cache specific circuit breaker by adding resource manager to that.
Additional Description:
Risk Level: Mid
Testing: Unit / Integration
Docs Changes: Required
Release Notes: Required
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

Shikugawa added 2 commits May 1, 2020 09:15
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-shepherds: Your approval is needed for changes made to api/.

🐱

Caused by: #11028 was synchronize by Shikugawa.

see: more, trace.

Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Flushing out a few API comments. Note that this will require documentation and release notes. We also need to figure out how to gracefully handle the existing use case. I think potentially if the new config is not set we should use the cluster circuit breaker for some period of time in the existing HTTP code. Need to discuss. Thank you!

/wait

api/envoy/config/cluster/v3/circuit_breaker.proto Outdated Show resolved Hide resolved
api/envoy/config/cluster/v3/circuit_breaker.proto Outdated Show resolved Hide resolved
Signed-off-by: shikugawa <[email protected]>
Shikugawa added 2 commits May 4, 2020 12:57
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
Signed-off-by: shikugawa <[email protected]>
@repokitteh-read-only
Copy link

CC @envoyproxy/api-watchers: FYI only for changes made to api/.

🐱

Caused by: #11028 was synchronize by Shikugawa.

see: more, trace.

Signed-off-by: shikugawa <[email protected]>
@Shikugawa Shikugawa marked this pull request as ready for review May 7, 2020 12:07
@Shikugawa Shikugawa requested review from alyssawilk and lizan as code owners May 7, 2020 12:07
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

A few API/doc comments to get started. Please also fix tidy. Thank you!

/wait

Signed-off-by: shikugawa <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

On the right track. Flushing out a few comments. Thank you!

/wait

Signed-off-by: Shikugawa <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

/wait

Signed-off-by: Shikugawa <[email protected]>
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

LGTM modulo final nits, thanks!

/wait

Signed-off-by: Shikugawa <[email protected]>
mattklein123
mattklein123 previously approved these changes Jun 30, 2020
Copy link
Member

@mattklein123 mattklein123 left a comment

Choose a reason for hiding this comment

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

Thanks!

@lizan
Copy link
Member

lizan commented Jun 30, 2020

@Shikugawa can you merge master? it conflicts with security patches.

Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
Shikugawa added 2 commits July 1, 2020 07:20
Signed-off-by: Shikugawa <[email protected]>
Signed-off-by: Shikugawa <[email protected]>
@Shikugawa
Copy link
Member Author

Shikugawa added 2 commits July 1, 2020 15:39
Signed-off-by: Shikugawa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants