Mutation Acknowledgement gaps
メンテナーはふだん 1 日以内に返信
@a-guhan がすでに取り組んでいます。
2026年11月24日 から。
評価
この issue はまだ評価されていません。
説明
Problem :
When a mutation's rows need a storage read (for example, a new member that joins a conversation the server isn't holding yet), the client is told the mutation is done before those rows arrive.
- The commit is processed, and its lastMutationID goes out in a poke right away.
- The read for the joined rows runs in the background, and they arrive in a later poke.
- In between, the client drops its optimistic copy (the ack says the server has it), so the UI briefly shows the data without the joined row, maybe a flicker, or poke processing error (based on the client).
Fix:
- Engine: a commit now says which storage reads its rows still wait on (opened), and the landing that finishes a read says so (closed). Reads started by those reads are tracked too, and closed is always sent, even when the read is empty or refused.
- Group thread: if a group has an ack waiting and one of its reads is still open, its poke is held. When the reads close, the rows and the ack go out together in one poke. Later acks queue behind it, so order is kept.
- Safety: if a read is stuck for 30s (STREAMGRES_ACK_HOLD_LIMIT_MS), the group is dropped and the client reconnects fresh. An early ack is never sent.
- 主要言語
- Rust
- スター
- 129
- フォーク
- 7
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
juspay/streamgres のほかの issue
-
Make the top-L client diff cost depend on what changed, not on the limit対応中かも @SahilKhan101 が 2 日前に担当しました。 オープンenhancement
juspay/streamgres#64 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)対応中かも @sprihaanand-juspay が 3 日前に担当しました。 オープン
juspay/streamgres#58 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1週間以上 初心者へのやさしさ 38/100
juspay/streamgres#56 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
juspay/streamgres#55 ·
メンテナーはふだん 1 日以内に返信
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backend対応中かも @sprihaanand-juspay が 6 日前に担当しました。 オープン
juspay/streamgres#53 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
juspay/streamgres の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Test connection's password prompt says the password is never saved, also for a keychain profileオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: settings bug Haiku review: no-score ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MMFoundation/WallpaperMachine#346 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Qiskit/qiskit#17699 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信