Skip to content

tonic-xds: deadlock when more than 65 services on the same port. #2778

Description

@aryehlev

Hey we have in our environment alot of versions of services all on the same port, this causes a deadlock in our xDS client at startup.
The shared route config for the port references more clusters than the client's internal queue can hold (64), and the two tasks that need each other to drain it end up waiting on each other.

@YutaoMa thanks for pushing my last commit we still have another blocker and would appreciate if you can take a look, hope i am not asking too much.
if you have another implementation also will be good.

https://github.com/grpc/grpc-rust/pull/2777/changes

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions