DA subscriber: inline rollback does not wake catch-up
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Go
- Stars
- 362
- Forks
- 295
- Avg merge
- 9h 29m
- Merged PRs (30d)
- 3
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from evstack/ev-node
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
needs-triage
Difficulty 3/5 1-2 days Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
DA follower: split-namespace height counted as done before its other namespace is processedPossibly taken @damiannolan claimed this today. Openneeds-triage
Difficulty 4/5 3-5 days Newbie friendliness 30/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 55/100
Maintainers usually reply within 1 day
Similar issues
-
agent:ready
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
turbot/flowpipe#1162 · 1 comment ·
Maintainers usually reply within 1 day
-
LifetimeRemaining divides by zero when expireAfter is 0s, producing NaN disruption costsPossibly taken @weirong-ui claimed this today. Openkind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
kubernetes-sigs/karpenter#3728 · 1 comment ·
Maintainers usually reply within 1 day
-
compaction: redundant exclusion checks after inRangePossibly taken @moodbased claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
docker/mcp-registry#8199 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day