Skip to content

fix: race condition in fast tx collection#21496

Open
deffrian wants to merge 13 commits intomerge-train/spartanfrom
nikita/race-condition
Open

fix: race condition in fast tx collection#21496
deffrian wants to merge 13 commits intomerge-train/spartanfrom
nikita/race-condition

Conversation

@deffrian
Copy link
Collaborator

Ref: A-513

  • Replaces MissingTxsTracker with RequestTracker that unifies missing tx tracking, deadline management, and cancellation signaling into a single object
  • Ensures cancellation propagates from the deepest stack level upward: inner workers and node loops settle before collectFast returns (no orphaned promises)
  • Makes node loop inter-retry sleep interruptible by racing against cancellationToken

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant