grpc / grpc/grpc-java

Logspam from Netty if sending when cancelled

オープン
#6,943 コメント 3 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。