grpc / grpc/grpc-java

async client stub: need to ignore unary response msg if status is not OK

Aperta
#5,968 2 commenti 0 reazioni 1 assegnatario Rivendicata da @ran-su Vedi su GitHub
bug
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

The future and blocking APIs wait until the close() before delivering any received message. If the status is an error they throw away the request.

https://github.com/grpc/grpc-java/blob/1c9345987f6501c43c748ad15b410f695a75bef3/stub/src/main/java/io/grpc/stub/ClientCalls.java#L481-L491

We need to do the same for async stub. See also https://github.com/grpc/grpc/issues/12824

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.