Sagas need better handling of undo actions that fail
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- distributed-systems
Direzione di ricerca
Start in src/saga_exec.rs around line 1014, where failures from undo actions are unwrapped, and trace how saga recovery handles those errors. Review the invariant and retry concerns described in the issue before proposing the error categories and policy. Done should include an agreed design and tests covering fatal, retryable, and invariant-related failures.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The current implementation of sagas unwraps any failures from an undo action. This is not great for distributed systems where the saga actions cannot always control the state of the system their operating on. For example, one might run a saga recovery with a different version of software than ran the saga in the first place. In these cases, we'd probably like to design more nuanced error-handling that distinguishes types of such operational errors, indicates whether they're fatal or retryable, and maybe more.
It's also not clear how sagas handle invariants that they would like to assert. This would normally just abort/unwind the program, according to the disposition it was built with. One could imagine catching these and having some policy around retrying the operations, potentially up to some count, specified at creation time. It'll take some care to make sure we don't block multiple sagas, or worse, prevent those later sagas from ever running to completion if an earlier one fails.
- Lingua principale
- Rust
- Stelle
- 174
- Fork
- 15
- Merge medio
- 1g 23h
- PR unite (30g)
- 8
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 oxidecomputer/steno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
oxidecomputer/steno#164 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
oxidecomputer/steno#492 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
oxidecomputer/steno#390 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
oxidecomputer/steno#302 · 3 commenti ·
-
Dependency DashboardAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 20/100
oxidecomputer/steno#173 · 1 commento ·
Tutte le issue di oxidecomputer/steno
Issue simili
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedApertaunconfirmed possible issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jerney-nexus/epikrise#364 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Yeachan-Heo/gajae-code#8058 ·
I maintainer di solito rispondono entro 1 giorno
-
bug daemon
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno