Mutation Acknowledgement gaps
Maintainer antworten meist innerhalb von 1 Tag
@a-guhan arbeitet bereits daran.
Seit 24.11.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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.
- Vorherrschende Sprache
- Rust
- Sterne
- 129
- Forks
- 7
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 5
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitEvtl. vergeben @SahilKhan101 hat das vor 2 Tagen übernommen. Offenenhancement
juspay/streamgres#64 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Evtl. vergeben @sprihaanand-juspay hat das vor 3 Tagen übernommen. Offen
juspay/streamgres#58 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 Über eine Woche Anfängerfreundlichkeit 38/100
juspay/streamgres#56 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
juspay/streamgres#55 ·
Maintainer antworten meist innerhalb von 1 Tag
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendEvtl. vergeben @sprihaanand-juspay hat das vor 6 Tagen übernommen. Offen
juspay/streamgres#53 · 1 zugewiesene Person ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in juspay/streamgres
Ähnliche Issues
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Maintainer antworten meist innerhalb von 1 Tag
-
Test connection's password prompt says the password is never saved, also for a keychain profileOffenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
area: settings bug Haiku review: no-score ui
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
MMFoundation/WallpaperMachine#346 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
Qiskit/qiskit#17699 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag