Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Parallel rechecktx #9

Merged
merged 2 commits into from
Jan 22, 2025
Merged

Conversation

dudong2
Copy link

@dudong2 dudong2 commented Jan 21, 2025

The recheck logic in cometBFT is not support parallel rechecktx, in particular the way it uses cursors causes race conditions, so i modified it to find tx directly in txsMap.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

@dudong2 dudong2 self-assigned this Jan 21, 2025
@dudong2 dudong2 requested review from zsystm and poorphd January 21, 2025 09:15
Copy link

@poorphd poorphd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
I also confirmed that the panic error disappeared.

Copy link

@zsystm zsystm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dudong2 dudong2 merged commit df66dd5 into basechain/develop Jan 22, 2025
14 of 15 checks passed
@dudong2 dudong2 deleted the bug/parallel-rechecktx branch January 22, 2025 04:01
zsystm pushed a commit that referenced this pull request Jan 22, 2025
* fix: Parallel rechecktx

* test: Remove recheck related codes
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.

3 participants