Skip to content

fix(blockstm): fix CancelAll cancellation with estimate blocks#25893

Open
mmsqe wants to merge 7 commits intocosmos:mainfrom
mmsqe:fix_cancel
Open

fix(blockstm): fix CancelAll cancellation with estimate blocks#25893
mmsqe wants to merge 7 commits intocosmos:mainfrom
mmsqe:fix_cancel

Conversation

@mmsqe
Copy link
Copy Markdown
Collaborator

@mmsqe mmsqe commented Feb 11, 2026

Description

When tx2 is suspended on an ESTIMATE mark from tx1 and tx1 is not suspended, clearing estimates only for suspended txns won’t help, waking tx2 just makes it suspend again. We need to clear the blocker’s (tx1’s) ESTIMATE mark as well, clear estimates for all txns before/while waking waiters.

Closes: #XXXX

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.87%. Comparing base (6786515) to head (64b5145).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #25893      +/-   ##
==========================================
+ Coverage   64.83%   64.87%   +0.03%     
==========================================
  Files         874      874              
  Lines       57601    57601              
==========================================
+ Hits        37347    37367      +20     
+ Misses      20254    20234      -20     
Files with missing lines Coverage Δ
internal/blockstm/status.go 87.34% <100.00%> (ø)

... and 9 files with indirect coverage changes

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aljo242
Copy link
Copy Markdown
Contributor

aljo242 commented Feb 11, 2026

@mmsqe could you add more context here?

@aljo242
Copy link
Copy Markdown
Contributor

aljo242 commented Feb 12, 2026

@mmsqe conflicts due to file movements sorry 😅

@github-actions
Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days-before-close if no further activity occurs.

@mmsqe mmsqe requested a review from a team as a code owner April 24, 2026 01:35
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.

2 participants