grpc / grpc/grpc-java

Outlier detection behavior for client cancellations and hedged streams

Offen
#12,834 4 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @AgraVator Auf GitHub ansehen
question
Vorherrschende Sprache
Java
Sterne
12.1k
Forks
4k
Ø Merge
2 T. 17 Std.
Gemergte PRs (30 T.)
37

Beschreibung

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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.