Logspam from Netty if sending when cancelled
- Vorherrschende Sprache
- Java
- Sterne
- 12.1k
- Forks
- 4k
- Ø Merge
- 2 T. 17 Std.
- Gemergte PRs (30 T.)
- 37
Beschreibung
### What version of gRPC-Java are you using?
1.27.0
### What is your environment?
Docker image: adoptopenjdk/openjdk8:alpine-slim
### What did you expect to see?
I expect to see no unnecessary logs.
### What did you see instead?
Unnecessary logs.
### Steps to reproduce the bug
To reproduce, create a long lived server side streaming rpc, with a Netty server that has `.maxConnectionAge()` and `.maxConnectionAgeGrace()` set. Observe that when the age and grace period has passed you receive the following log:
https://gist.github.com/byblakeorriver/6b3c80c8086399e2d922e5173bee12df
Beitragsleitfaden
Rechercherichtung
Reproduce the long-lived server-side streaming RPC with a Netty server configured with maxConnectionAge() and maxConnectionAgeGrace(), then inspect the cancellation path after those periods expire. Compare the resulting log with the linked gist; done means the cancellation no longer produces unnecessary Netty logs.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java
- Bereich
- api, backend
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100