filecoin-project / lotus

Reference implementation of the Filecoin protocol, written in Go
https://lotus.filecoin.io/
Other
2.85k stars 1.27k forks source link

Retry failed ProveCommitSector #7558

Open AthenaPoolOfficial opened 3 years ago

AthenaPoolOfficial commented 3 years ago

Checklist

Lotus component

Lotus Version

Daemon: 1.12.0
Miner: 1.12.0

Describe the Bug

Specifications: It leads sectors to executing Committing again that lotus returns the error of 'failed to submit proof for bulk verification error (RetCode = 32) ' when storage providers submit ProveCommitSector. We suggest that ProveCommitSector should be resubmitted when this error occurs. Code logs: The handleCommitFailed function in extern/storage-sealing/states_failed.go misses the processing with retcode = 32 when it estimates the return value of mw.Receipt.ExitCode.

Logging Information

failed to submit proof for bulk verification (RetCode=32)

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...' ...
AthenaPoolOfficial commented 2 years ago

@jennijuju

arajasek commented 2 years ago

IIRC, we already have retries for methods like PreComiitSectorBatch and ProveCommitAggregate. If we don't have a retry mechanism for ProveCommitSector we should definitely add it.

jennijuju commented 2 years ago

the solution of this might be helpful to https://github.com/filecoin-project/lotus/issues/8244 as well.