Skip to content

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

Merged
soulxu merged 3 commits into
envoyproxy:mainfrom
mosn:route-cache
Apr 1, 2024
Merged

soulxu merged 3 commits into
envoyproxy:mainfrom
mosn:route-cache

Conversation

@doujiang24

Copy link
Copy Markdown
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 <[email protected]>
@soulxu

soulxu commented Apr 1, 2024

Copy link
Copy Markdown
Member

/assign @wangfakang @spacewander

@repokitteh-read-only

Copy link
Copy Markdown

@spacewander cannot be assigned to this issue.

🐱

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

see: more, trace.

@soulxu

soulxu commented Apr 1, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
Member Author

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

Comment thread contrib/golang/common/go/api/filter.go Resolved
Signed-off-by: doujiang24 <[email protected]>

@wangfakang wangfakang left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks your work.

@soulxu soulxu left a comment

Copy link
Copy Markdown
Member

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
@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 <[email protected]>
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 <[email protected]>
johnlanni pushed a commit to johnlanni/envoy that referenced this pull request Mar 25, 2025
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 <[email protected]>
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