chaos: SIGKILL inside the low pass when resuming a pre-v0.20.0 snapshot position
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
Start with test/chaos/lowkeys_test.go and the low pass iterator round-trip tests that resume at record boundaries; inspect how the existing chaos case writes snapshot positions and checks read positions across restarts. Add coverage for a format version 4 position without from_min, including kills during the low pass and at its switch to the main pass. Done means the restarted snapshot delivers every row at least once, skips no keys, and low_pass_last_read and last_read never move backwards.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Follow-up to #458 (v0.20.0).
The chaos suite added in #458 (test/chaos/lowkeys_test.go) SIGKILLs a snapshot after it has acked negative keys on a fresh v0.20.0 snapshot. It does not kill the connector while it is inside the low pass: the catch-up read over keys at or below zero that runs when a snapshot resumes from a position written by v0.14.0-v0.19.0 (no from_min).
That path is covered in-process (iterator round-trip tests resume from every record boundary of the low pass, and low_pass_last_read is monotonic), but not by a real process kill.
Add a chaos case:
- Write a snapshot position in the pre-v0.20.0 shape (format version 4, no
from_min) for a table with keys on both sides of zero, mid main pass. - Start the connector, let the low pass deliver and ack part of the keys <= 0, then SIGKILL.
- Restart and check, after the snapshot completes: every row delivered at least once, no key skipped,
low_pass_last_readandlast_readnever moved backwards across the restarts. - Repeat with the kill landing on the switch from the low pass back to the main pass.
Risk tier: Tier 1 (test only, data path).
- Lingua principale
- Go
- Stelle
- 20
- Fork
- 12
- Merge medio
- 9h 50m
- PR unite (30g)
- 29
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ConduitIO/conduit-connector-postgres
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
ConduitIO/conduit-connector-postgres#491 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ConduitIO/conduit-connector-postgres#449 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ConduitIO/conduit-connector-postgres#417 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ConduitIO/conduit-connector-postgres#340 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
ConduitIO/conduit-connector-postgres#472 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di ConduitIO/conduit-connector-postgres
Issue simili
-
P3 tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
I maintainer di solito rispondono entro 1 giorno
-
kind/feature needs-triage priority/unprioritized
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NVIDIA/k8s-test-infra#1504 ·
I maintainer di solito rispondono entro 1 giorno
-
Area/Infrastructure Aspect/Infra Resources Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wso2/agent-manager#2717 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
open-policy-agent/opa#9685 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno