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

golang filter: do not clear route cache in ·HeaderMap.Set` by default. #33229

Merged
merged 3 commits into from
Apr 1, 2024

Conversation

doujiang24
Copy link
Member

introduce a new API ClearRouteCache to clear route cache.
fix #33082

Commit Message:
Additional Description:
Risk Level: low
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

introduce a new API `ClearRouteCache` to clear route cache.

fix envoyproxy#33082

Signed-off-by: doujiang24 <doujiang24@gmail.com>
@soulxu
Copy link
Member

soulxu commented Apr 1, 2024

/assign @wangfakang @spacewander

Copy link

@spacewander cannot be assigned to this issue.

🐱

Caused by: a #33229 (comment) was created by @soulxu.

see: more, trace.

@soulxu
Copy link
Member

soulxu commented Apr 1, 2024

cc @wangfakang @spacewander

@doujiang24 I CCed few owner, but let me know if you think this is ready to merge, I can help to merge since this is contrib ext.

@doujiang24
Copy link
Member Author

Thanks, @soulxu , let's wait an approval from from @wangfakang @spacewander .

Signed-off-by: doujiang24 <doujiang24@gmail.com>
Signed-off-by: doujiang24 <doujiang24@gmail.com>
Copy link
Member

@wangfakang wangfakang left a comment

Choose a reason for hiding this comment

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

LGTM, thanks your work.

Copy link
Member

@soulxu soulxu left a comment

Choose a reason for hiding this comment

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

LGTM, thanks

@soulxu soulxu merged commit 6e3d574 into envoyproxy:main Apr 1, 2024
51 checks passed
@doujiang24 doujiang24 deleted the route-cache branch April 1, 2024 15:23
alyssawilk pushed a commit to alyssawilk/envoy that referenced this pull request Apr 29, 2024
envoyproxy#33229)

* golang filter: do not clear route cache in HeaderMap.Set by default.

introduce a new API `ClearRouteCache` to clear route cache.
fix envoyproxy#33082

Signed-off-by: doujiang24 <doujiang24@gmail.com>
spacewander pushed a commit to mosn/envoy that referenced this pull request Jun 27, 2024
envoyproxy#33229)

* golang filter: do not clear route cache in HeaderMap.Set by default.

introduce a new API `ClearRouteCache` to clear route cache.
fix envoyproxy#33082

Signed-off-by: doujiang24 <doujiang24@gmail.com>
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.

golang filter: do not clear route cache in the HeaderMap.Set API
4 participants