Commit Graph

52 Commits

Author SHA1 Message Date
Łukasz Magiera
9d9ea4e633 Fix a bunch sealing issues 2020-08-05 03:30:58 +02:00
Łukasz Magiera
b8526edd5e
Merge pull request #46 from chunqizhi/wenchu
Add case: Removed in fsm.go to avoid "unexpected sector update state: Removed"
2020-08-05 00:16:12 +02:00
Łukasz Magiera
f83d828b24 Merge remote-tracking branch 'origin/master' into next 2020-07-20 19:52:07 +02:00
刘林欣
d4c8be92b0 fix precommit1 failed state 2020-07-15 09:41:35 +08:00
chunqizhi
3e226b5aaa Add case: Removed in fsm.go 2020-07-14 16:41:19 +08:00
Łukasz Magiera
bc5e298e2b
Merge pull request #43 from filecoin-project/asr/timer
Add a timer to auto-start sector sealing
2020-07-07 21:42:29 +02:00
Aayush Rajasekaran
b838ed4e85 Add a timer to auto-start sector sealing 2020-07-07 15:19:27 -04:00
Łukasz Magiera
0503592af7 Fast-retrieval copy plumbing 2020-07-02 22:09:59 +02:00
Łukasz Magiera
9aec1e9484 Update specs-actors to v0.7.0 2020-06-26 17:29:08 +02:00
Aayush Rajasekaran
eb17b2f371 Add a state for waiting on deals, and events for new deals and start packing 2020-06-25 13:33:23 -04:00
Aayush Rajasekaran
db863a4de7 Add new event for start of CC sectors 2020-06-25 13:33:23 -04:00
Łukasz Magiera
24fd125223 Implement a way to remove sectors 2020-06-22 18:55:53 +02:00
Łukasz Magiera
b2d14380b4 checkCommit: handle missing precommits 2020-06-17 17:19:36 +02:00
Łukasz Magiera
8ad1af106d Retry precommit2 once before redoing precommit1 2020-06-04 17:30:36 +02:00
Łukasz Magiera
1f5aa7fb7d Auto-retry failed finalize 2020-06-03 23:42:17 +02:00
Łukasz Magiera
222f3d876c Fix handling of re-precommit 2020-06-02 23:45:28 +02:00
Łukasz Magiera
9b92e145e7 Try to re-precommit on consecutive failed commit proof compute 2020-06-02 22:30:40 +02:00
Jeromy
06bcde9c2d add a new state for precommit wait 2020-05-18 15:49:21 -07:00
laser
8006f12dea SectorID -> SectorNumber 2020-04-06 15:31:33 -07:00
laser
70615df273 miscellaneous fixes post-rebase 2020-04-06 13:23:37 -07:00
laser
9b29210dce remove all lotus types from sealing package in preparation for extraction
events adapter

implement StateWaitMsg and StateComputeDataCommitment

implement StateGetSectorPreCommitOnChainInfo

implement ChainHead and SendMsg

implement remaining methods
2020-04-06 12:57:55 -07:00
Łukasz Magiera
dcfd0943d5 fsm: Handle invalid Commits 2020-04-04 03:50:05 +02:00
Łukasz Magiera
4a6c5c25b0 fsm: Implement handlers for Commit errors 2020-04-03 19:45:48 +02:00
Łukasz Magiera
8c824dfaf7 sealing fsm: Separate precommit 1/2 2020-04-03 18:54:15 +02:00
Łukasz Magiera
abb433aa42 Change api.SectorState to a string 2020-04-03 18:29:31 +02:00
Łukasz Magiera
88ad4858ec gofmt 2020-03-22 22:39:27 +01:00
Łukasz Magiera
2fc1114ad2 sealing: Improve sector log 2020-03-22 21:44:27 +01:00
Łukasz Magiera
80c774ec49 storageminer: Fix preseal meta import for genesis miners 2020-03-20 01:20:01 +01:00
Łukasz Magiera
9476452c49 sealing: Fix noop plan loop 2020-03-07 00:03:57 +01:00
Łukasz Magiera
dbca774e17 libs: Use go-statemachine 2020-03-06 20:01:03 +01:00
Łukasz Magiera
d04c304c93 Implement committed capacity sectors 2020-02-23 01:47:47 +01:00
Łukasz Magiera
fb495e98b4 specs-actors: Fix most compilation errors 2020-02-09 07:06:32 +01:00
Łukasz Magiera
8c2bdf984c Merge branch 'master' into feat/new-sb-fs 2020-01-30 07:39:52 +01:00
Łukasz Magiera
c4e9a77be4 actually call finalizeSector 2020-01-29 23:37:31 +01:00
Łukasz Magiera
4ce9d005dd sealing: FinalizeSector step 2020-01-29 22:25:06 +01:00
laser
e62515c042 planCommitting must handle SectorCommitFailed
The SectorCommitFailed struct can be created from within Sealing#handleCommitting, and is created if actors.SerializeParams(params) produces an error or if m.api.MpoolPushMessage(ctx.Context(), msg) produces an error.
2020-01-28 11:46:26 -08:00
Łukasz Magiera
db5f1d2235 sealing: PreCommitFailed can go to SealFailed 2020-01-23 18:45:57 +01:00
Łukasz Magiera
75670290fe sealing: Handlef for PreCommitFailed 2020-01-23 18:34:04 +01:00
Łukasz Magiera
943197e65c sealing: Don't infinite-loop on fatal errors 2020-01-23 17:11:58 +01:00
Łukasz Magiera
74095b25c5 sealing: Actually call handleSealFailed 2020-01-23 16:47:33 +01:00
Łukasz Magiera
2715ff763f sealing: implement handler for sealFailed 2020-01-23 16:38:10 +01:00
Łukasz Magiera
ee34cf612f sealing: Wire up sector event log 2020-01-22 21:29:19 +01:00
Łukasz Magiera
7463ee72d0 sealing: wire up checkPieces and checkSeal 2020-01-22 20:47:29 +01:00
Łukasz Magiera
032b2d877c sealing: Fix planOne for global events 2020-01-22 19:30:56 +01:00
Łukasz Magiera
85d40a318b Merge branch 'master' into feat/sector-recovery 2020-01-22 03:27:11 +01:00
Łukasz Magiera
7c6a884980 cobr-gen: Soft struct-map unmarshaling 2020-01-21 17:05:10 +01:00
Łukasz Magiera
f121570d60 sealing: Some state renaming 2020-01-20 23:04:46 +01:00
dtynn
7566d75aeb small fixes 2020-01-20 16:23:56 +08:00
Łukasz Magiera
347e788eb6 sealing: gofmt 2020-01-16 03:54:57 +01:00
Łukasz Magiera
6413108dc9 sealing: Handle events based on current state 2020-01-16 03:53:59 +01:00