filecoin-project / lotus

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

state machine #7740

Closed sjxqqq closed 2 years ago

sjxqqq commented 2 years ago

Checklist

Lotus component

Lotus Version

lorus-miner v1.13.0

fsm.go/fsmPlanners
GetTicket:planOne(
  on(SectorTicket{}, preCommit1),
  on(SectorCommitFailed{}, CommitFailed),
)
......................

state_sealing.go/handleGetTicket()
...
return ctx.Send(SectorSealPreCommit1Failed{..........})

Describe the Bug

The SectorSealPreCommit1Failed state is not defined in GetTicket, but this state is indeed used in handleGetTicket()

Logging Information

2021-12-05T09:19:41.215+0800    ERROR   evtsm   go-statemachine@v1.0.1/machine.go:86    Executing event planner failed: running planner for state GetTicket failed:
    github.com/filecoin-project/lotus/extern/storage-sealing.(*Sealing).plan
        /home/lwc/gitlab/filecoin-project/lotus/extern/storage-sealing/fsm.go:301
  - planner for state GetTicket received unexpected event sealing.SectorSealPreCommit1Failed ({User:getting ticket failed: getting precommit info: handleSealFailed(345356): temp error: call StateGetActor ,more than 10 second not retuen, time out}):
    github.com/filecoin-project/lotus/extern/storage-sealing.planOne.func1
        /home/lwc/gitlab/filecoin-project/lotus/extern/storage-sealing/fsm.go:643

Repo Steps

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

Hi @sjxqqq

Thanks for the report. Im unable to reproduce the issue here. Can you share bit more, logs, and what caused this to happen?

Thank you!

github-actions[bot] commented 2 years ago

Oops, seems like we needed more information for this issue, please comment with more details or this issue will be closed in 24 hours.

github-actions[bot] commented 2 years ago

This issue was closed because it is missing author input.