async client stub: need to ignore unary response msg if status is not OK
Abierto
bug
- Lenguaje dominante
- Java
- Estrellas
- 12.1k
- Forks
- 4k
- Merge medio
- 2 d 17 h
- PR fusionados (30 d)
- 37
Descripción
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
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.