A permanent database error while recording data-cube appends stalls all dispatching
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 68/100
調査の方向性
Start with services/pipeline/src/pipeline/dispatcher/loop.py, especially the record_appends call after the catalog-change loop, and trace how the batch is marked done or released for retry. Check the existing dispatcher fakes and tests for how to simulate a permanent database permission error. Done means append-recording failure is logged and counted, the rest of the batch is marked done or released, and a test covers that behavior.
索引モデルが issue の本文から書いたものです。
説明
Found by independent review of #253; the code is the same on main, so it predates that PR.
After the dispatcher has worked through a batch of catalog changes it records the data-cube appends in one step (services/pipeline/src/pipeline/dispatcher/loop.py, the record_appends call after the loop). If that step fails with a permanent database error (for example a missing table or missing permission), the error escapes: the batch is neither marked done nor released for retry. The batch is picked up again after 10 minutes and fails the same way, indefinitely. Deliveries and process runs for every collection in that batch never go out, and the retry cap never applies because the attempt count never increases.
Reproduced with the repo's own fakes: with the append-recording step raising a permission error, one event from a cube source and one from another collection gave no deliveries, nothing marked processed, nothing released.
Likelihood in supported deployments is low (the two cube tables are created together and the pipeline connects as the owner), but it is the one path where "a data-cube problem must not hold up deliveries" is false.
Done when: a failure recording cube appends cannot prevent the rest of the batch from being marked done or released, the failure is logged and counted, and a test covers it.
🤖 Generated with Claude Code
- 主要言語
- Python
- スター
- 0
- フォーク
- 2
- 平均マージ
- 8時間 26分
- マージ済み PR(30日)
- 47
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
TechTraverse/stac-higher のほかの issue
-
ci
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
TechTraverse/stac-higher#261 ·
メンテナーはふだん 1 日以内に返信
-
ready
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
TechTraverse/stac-higher#258 ·
メンテナーはふだん 1 日以内に返信
-
Error messages hide the server's reason: users see only '400 Bad Request'対応中かも @aman-code-io が 3 日前に担当しました。 オープンbug good first issue ready
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
TechTraverse/stac-higher#232 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
TechTraverse/stac-higher#225 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
TechTraverse/stac-higher#216 ·
メンテナーはふだん 1 日以内に返信
TechTraverse/stac-higher の issue をすべて見る
似ている issue
-
docs(contributing): the two things that silently block a PR対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンavailable documentation good first issue
難易度 1/5 1〜3時間 初心者へのやさしさ 95/100
Nixitov/Riptide-Native#944 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
JTHCode/secretguard#24 ·
メンテナーはふだん 1 日以内に返信
-
area: middleware documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
omarelshamy25x/shamy-hijri#63 ·
メンテナーはふだん 1 日以内に返信