DA subscriber: inline rollback does not wake catch-up
維護者通常 1 天內回覆
評估
研究方向
Read block/internal/da/subscriber.go, focusing on runSubscription's rollback and runCatchup's head-reached exit. Reproduce the described timing by running catch-up between the inline CAS and rollback, then verify that catch-up retries the rolled-back height without waiting for another blob. Pull request #3531 is already open for this issue.
由索引模型根據 Issue 內容生成。
描述
Problem
runSubscription claims a height for inline processing by advancing localDAHeight with a CAS, and rolls it back if HandleEvent fails (block/internal/da/subscriber.go, around line 328). The rollback does not signal the catch-up loop.
If the catch-up loop runs while the inline cursor is advanced, it can see local > highest, mark the head reached and return. The rollback then moves localDAHeight back below highestSeenDAHeight, but no signal wakes catch-up. The rolled-back height is not retried until updateHighest sees a higher DA height, which in subscription mode happens only when another blob lands in the chain's namespaces.
On an active chain that is a short delay. On a lazy or idle chain the node can sit behind for a long time.
Where
block/internal/da/subscriber.go:runSubscription(rollback) andrunCatchup(head-reached exit)
This is on main; #3525 does not touch the subscriber.
Possible fix
Call signalCatchup() after the rollback, so catch-up re-checks localDAHeight against highestSeenDAHeight. A test that runs catch-up between the inline CAS and the rollback would cover it.
- 主要語言
- Go
- 星號
- 362
- 分支
- 295
- 平均合併
- 9 小時 29 分鐘
- 30 天內合併 PR
- 3
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
evstack/ev-node 的其他 Issue
-
難度 1/5 1 小時以內 新手友好度 68/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
維護者通常 1 天內回覆
-
needs-triage
難度 3/5 1-2 天 新手友好度 76/100
維護者通常 1 天內回覆
-
DA follower: split-namespace height counted as done before its other namespace is processed可能已有人在做 @damiannolan 今天認領。 未關閉needs-triage
難度 4/5 3-5 天 新手友好度 30/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 55/100
維護者通常 1 天內回覆
相似的 Issue
-
agent:ready
難度 2/5 1-3 小時 新手友好度 67/100
turbot/flowpipe#1162 · 1 則留言 ·
維護者通常 1 天內回覆
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costs可能已有人在做 @weirong-ui 今天認領。 未關閉kind/bug needs-priority needs-triage
難度 2/5 1-3 小時 新手友好度 72/100
kubernetes-sigs/karpenter#3728 · 1 則留言 ·
維護者通常 1 天內回覆
-
compaction: redundant exclusion checks after inRange可能已有人在做 @moodbased 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 65/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
docker/mcp-registry#8199 ·
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 1 天內回覆