Open yuqitao opened 3 months ago
wtc race maybe cause zero worker thread here. https://github.com/containerd/ttrpc-rust/blob/152ac12c30f65b79407d4411c40d8c86bc5ae949/src/sync/server.rs#L111
could reproduce it by add sleep 1s before https://github.com/containerd/ttrpc-rust/blob/152ac12c30f65b79407d4411c40d8c86bc5ae949/src/sync/server.rs#L112
sleep 1s
There is at least one worker thread for the accepted socket fd.
Mabye there is no worker thread for the accepted socket fd.
Description of problem
wtc race maybe cause zero worker thread here. https://github.com/containerd/ttrpc-rust/blob/152ac12c30f65b79407d4411c40d8c86bc5ae949/src/sync/server.rs#L111
could reproduce it by add
sleep 1s
before https://github.com/containerd/ttrpc-rust/blob/152ac12c30f65b79407d4411c40d8c86bc5ae949/src/sync/server.rs#L112Expected result
There is at least one worker thread for the accepted socket fd.
Actual result
Mabye there is no worker thread for the accepted socket fd.