Sagas need better handling of undo actions that fail
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Rust
- スター
- 174
- フォーク
- 15
- 平均マージ
- 1日 23時間
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
oxidecomputer/steno のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oxidecomputer/steno#164 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 45/100
oxidecomputer/steno#492 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
oxidecomputer/steno#390 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
oxidecomputer/steno#302 · コメント 3 件 ·
-
Dependency Dashboardオープン
難易度 3/5 1〜2日 初心者へのやさしさ 20/100
oxidecomputer/steno#173 · コメント 1 件 ·
oxidecomputer/steno の issue をすべて見る
似ている issue
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedオープンunconfirmed possible issue
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
jerney-nexus/epikrise#364 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
Yeachan-Heo/gajae-code#8058 ·
メンテナーはふだん 1 日以内に返信
-
bug daemon
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信