grpc / grpc/grpc-rust

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

Open
#2,778 10 comments 0 reactions 1 assignee Claimed by @YutaoMa View on GitHub
Dominant language
Rust
Stars
12.5k
Forks
1.3k
Avg merge
4d 7h
Merged PRs (30d)
24

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.