Skip to content

xds-client: reconnect block new watch - #2909

Closed
W4lspirit wants to merge 1 commit into
grpc:masterfrom
W4lspirit:fix/xds-cache-replay-reconnect
Closed

W4lspirit wants to merge 1 commit into
grpc:masterfrom
W4lspirit:fix/xds-cache-replay-reconnect

Conversation

@W4lspirit

Copy link
Copy Markdown
Contributor

WIP

To prevent the ADS stream from deadlocking, it is necessary to be
"continuously" reading, even when writing. The client may pause reading
momentarily to process responses, but it must always be able to resume
reading without further I/O on the stream.

Since TransportStream's &mut self prohibits reading and writing
concurrently, split the trait into TransportSender and
TransportReceiver. initial_requests is also no longer needed when
creating a stream, as the deadlock risk is gone.
@W4lspirit W4lspirit closed this Oct 4, 2026
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