CallCredentials should respect the Deadline
- 主要言語
- Java
- スター
- 12.1k
- フォーク
- 4k
- 平均マージ
- 2日 17時間
- マージ済み PR(30日)
- 37
説明
Please answer these questions before submitting your issue.
### What version of gRPC are you using?
1.15.1
### What did you expect to see?
An RPC should never outlast a deadline set in either `CallOptions` or `grpc.
### What I actually saw?
`CallCredentials` does not respect deadlines, so a `ClientCall` cannot guarantee that the RPC will finish within a set deadline (for example if an OAuth token needs to be refreshed). Furthermore, the current `CallCredential` api makes it impossible for `CallCredentials` to access the deadline set in `CallOptions`.
コントリビューションガイド
調査の方向性
まず CallCredentials、CallOptions、ClientCall の API を読み、デッドラインと認証情報の更新がどのように処理されるかを追跡します。認証情報が設定されたデッドラインを認識する方法を確認し、その後、OAuth トークンの更新中であっても RPC がそのデッドラインを超過できないことを検証します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- grpc, java
- 領域
- backend-api-design, networking
- issue の種類
- バグ
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100