Open Reiers opened 2 years ago
We should address this in 1.14.0 -- fine to just fail the deal for now, if the better version (trying to match the deal with a waiting / new sector) is harder
Not sure but it looks like the ability to do this on the markets side doesn't quite exist yet as I've been having trouble getting desired behavior when failing regular deal sector commitments. I'm going to focus on reassigning deals from failed sectors because it looks like a similar scope problem and gets us closer to where we want to be.
ability to do this on the markets side doesn't quite exist yet as I've been having trouble getting desired behavior when failing regular deal sector commitments.
some what related https://github.com/filecoin-project/go-fil-markets/issues/662
@nonsense we could use some of your insight here from a client / market implementation (boost) perspective:
Currently, if sealing failed for the sector a deal is in, what's the storage deal status in that case?
At the moment Boost is handling this in a similar way as Lotus markets - a deal is sent to the sealer and then removed on Boost side. So Boost, same as Lotus markets, doesn't support retrying the deal on a new sector, as the data is no longer there.
I think we should as a first step we should handle this correctly, i.e. error the deal if the sector fails to seal.
As a second step I suggest we add functionality to retry the deal, which is not easy as keeping the data around on markets side is not ideal - ideally this should happen on the sealer side I think, but I am not sure.
Related issue: https://github.com/filecoin-project/boost/issues/1345
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Describe the Bug
The deal state does not change when
lotus-miner sectors update-state --really-do-it <sector> AbortUpgrade
They stay in AwaitingPreCommit, or Sealing.Logging Information
Repo Steps
Run lotus-miner sectors snap-up <sector>
lotus-miner sealing abort <jobID>
lotus-miner sectors update-state --really-do-it <sector> AbortUpgrade
Expected behavior:
SnapDealsWaitDeals
sector - if cant find aSnapDealsWaitDeals
, create aWaitDeals
sector since the upgrade failed.