-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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: sealing: Fix RetryCommitWait loop when sector cron activation fails #11046
Conversation
c3dd512
to
402895f
Compare
Can you update the description with testing plan? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per our new PR approval strategy I'll wait to approve until:
Real setup: check that a sector which is stuck in CommitWait (e.g. due to low feecap) beyond its start epoch is correctly removed, and doesn't spin through CommitWaitFailed
lotus-miner error message:
The contract error message is as follows:
The contract code search should be for an error in the 'activate_deals' method within the market contract, i.e., the specific location.
But I have not executed 'activate_deals' before. |
@gitaspick Your issue is not really related to this PR (other than in this PR we'll correctly stop retrying when there is no hope left for the sector). Please ask your question in the Filecoin Slack in #fil-lotus-help |
Related Issues
Fixes #9841
Proposed Changes
In the CommitFailed state handler, if we see a successful commit message still check if the sector is visible on chain. If it's not run full checks, which will catch things like expired deals, and most likely will remove the sector.
Testing:
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, build, chore, ci, docs, perf, refactor, revert, style, testarea
, e.g. api, chain, state, market, mempool, multisig, networking, paych, proving, sealing, wallet, deps