Skip to content

feat(xds): Add filter state reference-counted resource management#12879

Open
sauravzg wants to merge 1 commit into
grpc:masterfrom
sauravzg:sauravz/filter-state-retention
Open

feat(xds): Add filter state reference-counted resource management#12879
sauravzg wants to merge 1 commit into
grpc:masterfrom
sauravzg:sauravz/filter-state-retention

Conversation

@sauravzg

Copy link
Copy Markdown
Contributor
  • Introduce SharedResourceManager to manage reference-counted shared resources across xDS filters and resolvers.
  • Update XdsNameResolver to integrate with SharedResourceManager and support filter state retention.
  • Add RefCountedRoute and RefCountedRouteInterceptor to ensure resources are reliably retained during call interception and released across all RPC lifecycle termination paths (normal completion, cancellation, and exceptions).
  • Update Filter interfaces and existing implementations (FaultFilter, GcpAuthenticationFilter) to accommodate filter state sharing.

- Introduce `SharedResourceManager` to manage reference-counted shared
  resources across xDS filters and resolvers.
- Update `XdsNameResolver` to integrate with `SharedResourceManager` and
  support filter state retention.
- Add `RefCountedRoute` and `RefCountedRouteInterceptor` to ensure
  resources are reliably retained during call interception and released
  across all RPC lifecycle termination paths (normal completion,
  cancellation, and exceptions).
- Update `Filter` interfaces and existing implementations
  (`FaultFilter`, `GcpAuthenticationFilter`) to accommodate filter state
  sharing.
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.

1 participant