Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

binder: Inbound.java reassembly logic needlessly handles out-of-order transactions, fails to handle silently dropped ones.

オープン
#12,747 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
android, grpc, java
領域
api, backend

調査の方向性

binder/src/main/java/io/grpc/binder/internal/Inbound.java から始め、issue にリンクされている IBinder#FLAG_ONEWAY の動作を確認してください。トランザクションが順序付けられているという前提に基づいて再組み立てを簡素化し、予期しないインデックスが発生した場合は、無期限に待機するのではなく、適切なステータスで直ちに stream を閉じるようにしてください。完了の条件は、欠落によって呼び出し元がハングしなくなり、選択した失敗ステータスが再試行をサポートすることです。

索引モデルが issue の本文から書いたものです。

説明

binder

Inbound has code to handle Binder transactions delivered out-of-order, something that can't happen (see IBinder#FLAG_ONEWAY). At the same time, it fails to handle the rare case where transactions are silently dropped.

We should simplify the message reassembly code and fail fast on gaps instead of waiting forever for a transaction that will never come. If an incoming transaction index doesn't have the next expected value, immediately close the stream (with DATA_LOSS? UNAVAILABLE?). This avoids a hang, allowing callers to retry sooner.

主要言語
Java
スター
12.1k
フォーク
4k
平均マージ
2日 1時間
マージ済み PR(30日)
31

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

grpc/grpc-java のほかの issue

grpc/grpc-java の issue をすべて見る

似ている issue

Java の issue をもっと見る

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

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