Logspam from Netty if sending when cancelled
- 主要言語
- Java
- スター
- 12.1k
- フォーク
- 4k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 37
説明
### 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
コントリビューションガイド
調査の方向性
maxConnectionAge() と maxConnectionAgeGrace() を設定した Netty サーバーで、長時間存続するサーバー側ストリーミング RPC を再現し、それらの期間が経過した後のキャンセルパスを調査します。生成されたログをリンク先の gist と比較します。キャンセルによって不要な Netty ログが生成されなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- java
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100