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: autobatch: remove potential deadlock when a block is missing #9602

Merged
merged 2 commits into from
Nov 7, 2022

Conversation

Stebalien
Copy link
Member

@Stebalien Stebalien commented Nov 7, 2022

Related Issues

Proposed Changes

Check the underlying blockstore instead of recursing. Also, drop the
lock before we do that.

Checklist

Before you mark the PR ready for review, please make sure that:

  • Commits have a clear commit message.
  • PR title is in the form of of <PR type>: <area>: <change being made>
    • example: fix: mempool: Introduce a cache for valid signatures
    • PR type: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, test
    • area, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps
  • Tests exist for new functionality or change in behavior
  • CI is green

@Stebalien Stebalien requested a review from a team as a code owner November 7, 2022 18:43
Check the _underlying_ blockstore instead of recursing. Also, drop the
lock before we do that.
@Stebalien Stebalien force-pushed the steb/re-check-backing-store branch from 56a45b9 to 385f787 Compare November 7, 2022 18:46
@Stebalien Stebalien requested a review from arajasek November 7, 2022 18:47
@arajasek arajasek force-pushed the steb/re-check-backing-store branch from 37dc315 to 2e78158 Compare November 7, 2022 20:10
@arajasek arajasek mentioned this pull request Nov 7, 2022
7 tasks
@arajasek arajasek merged commit 0fe4fad into master Nov 7, 2022
@arajasek arajasek deleted the steb/re-check-backing-store branch November 7, 2022 20:16
arajasek added a commit that referenced this pull request Nov 7, 2022
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