Redirect/pool: endpoint matching has no normalization, newest hint not preferred, cache TTL/entries not configurable, TableSessionPool lacks acquire_for_device
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- rust
調査の方向性
まず RedirectCache、SessionConfig、TableSessionPool、SessionPool::acquire_for_device を見つけ、次に acquire_for_device がアイドル状態のセッションをどのように選択するか、またリダイレクトヒントがどのように比較されるかを追跡します。既存の pool テストと redirect テストを確認し、要求された 4 つの動作すべてについて完了を検証します。すなわち、正規化されたマッチング、最新のヒントの選択、設定可能な現在のデフォルト値、table-pool API です。
索引モデルが issue の本文から書いたものです。
説明
Smaller redirect/pool issues around acquire_for_device:
- Redirect endpoint matching is exact host-string equality with no normalization. Hostname-vs-IP spelling silently disables the optimization on multi-DataNode clusters, with no log line so it is invisible from outside. At minimum the comparison should normalize case/whitespace and resolve hostname-vs-IP where feasible.
- When idle sessions hold conflicting hints for one device, the winner is queue position, not recency.
RedirectCachealready tracksseq/insertion order — prefer the newest hint (this stays within the documented "any idle session" behaviour). RedirectCacheTTL andmax_entriesare fixed at construction with noSessionConfigknob; this becomes measurable on large batch inserts. AddSessionConfigfields with the current defaults.TableSessionPoolexposesacquire()but notacquire_for_device(), so table-mode users accumulate hints no pool API can consume. Expose the underlyingSessionPool::acquire_for_device.
- 主要言語
- Rust
- スター
- 1
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/iotdb-client-rust のほかの issue
-
Session::open does not fail over when openSession/requestStatementId fails (only TCP-layer failover) オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
enhancement
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
apache/iotdb-client-rust#10 ·
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 68/100
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 62/100
apache/iotdb-client-rust の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug team:backend track:services-maintenance
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
cowprotocol/services#4950 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
gitbutlerapp/gitbutler#15998 · コメント 1 件 ·
-
bug triage:deciding
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
open-telemetry/otel-arrow#4132 ·