grpc-java icon indicating copy to clipboard operation
grpc-java copied to clipboard

core: optimize to reduce excessive onReady() in hedging

Open dapengzhang0 opened this issue 3 years ago • 0 comments

In hedging, multiple substreamListener.onReady() may be invoked concurrently, that may result in excessive masterListener.onReady() calls (although synchronized). This PR reduces some obvious excessive onReady() calls, by checking individual substream's isReady() rather than the global isReady(). Excessive onReady() still exists even after this PR though.

dapengzhang0 avatar Jan 18 '22 16:01 dapengzhang0