grpc / grpc/grpc-java

Outlier detection behavior for client cancellations and hedged streams

Aperta
#12,834 4 commenti 0 reazioni 1 assegnatario Rivendicata da @AgraVator Vedi su GitHub
question
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

Descrizione

The stream tracer for outlier detection seems to [record each stream closure](https://github.com/grpc/grpc-java/blob/3db3235ebdc5b73afaef24f790f2ef9e8300b10b/util/src/main/java/io/grpc/util/OutlierDetectionLoadBalancer.java#L487) with `status.isOk() != true` as an error. The rate of success is then used for success rate and failure percentage outlier detectors.

I'd like to understand more as to what happens in the following cases:
- A hedged stream is cancelled because another winning stream was committed.
- The client cancels the call due to context expiration or any other reason unrelated to the call itself.

Would it still be recorded as an error and accounted for outlier detection?

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.