Skip to content

RLQS: Improve TlsStore persistence after filter factory deletion#44690

Draft
bsurber wants to merge 5 commits intoenvoyproxy:mainfrom
bsurber:finish-rlqs-fix
Draft

RLQS: Improve TlsStore persistence after filter factory deletion#44690
bsurber wants to merge 5 commits intoenvoyproxy:mainfrom
bsurber:finish-rlqs-fix

Conversation

@bsurber
Copy link
Copy Markdown
Contributor

@bsurber bsurber commented Apr 27, 2026

Commit Message: Branch off of #44236 with some cleanup and improved coverage in filter_persistence_test.cc

Overall, this lets filter instances in worker threads hold shared_ptr ownership of TlsStores and the Global RLQS client (GlobalRateLimitClientImpl), guaranteeing their existence even if the filter factory (previous unique owner of both) gets deleted via an xDS push.

Operations posted to the main thread by the GlobalRateLimitClientImpl also now check to make sure they haven't outlived the original global client.

Additional Description:
Risk Level: minor (haven't been reproducible outside of direct coverage testing)
Testing: unit testing
Docs Changes:
Release Notes:
Platform Specific Features:

yanavlasov and others added 5 commits April 2, 2026 14:20
Signed-off-by: Yan Avlasov <yavlasov@google.com>
Signed-off-by: Yan Avlasov <yavlasov@google.com>
…TlsStore deletion outside of the main thread

Signed-off-by: Brian Surber <bsurber@google.com>
@bsurber bsurber marked this pull request as draft April 27, 2026 21:46
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.

2 participants