Łukasz Magiera
12a8ab5ac7
sector import: Add missing initial fsm state transition
2022-09-19 12:13:06 +02:00
Łukasz Magiera
fef7232c6b
sector import: Initial SectorReceive itest
2022-09-19 12:13:06 +02:00
Łukasz Magiera
3caa010779
sector import: Update type-gen
2022-09-19 12:13:06 +02:00
Łukasz Magiera
cdadf5e5a9
sector import: Implement handleReceiveSector
2022-09-19 12:13:05 +02:00
Łukasz Magiera
cde23be559
sector import: Fix tests
2022-09-19 12:13:05 +02:00
Łukasz Magiera
ea99bd9763
sector import: Sector data download
2022-09-19 12:13:05 +02:00
Łukasz Magiera
fbb487ae2b
sector import: Plumbing for DownloadSectorData in the sealing system
2022-09-19 12:13:05 +02:00
Łukasz Magiera
39e4845f42
sector import: Put the imported sector into the sealing pipeline
2022-09-19 12:13:05 +02:00
Łukasz Magiera
2b644525f8
sector import: More check progress
2022-09-19 12:13:05 +02:00
Łukasz Magiera
ca790b4c69
sealing: Validate piece alignment in checkPieces
2022-09-19 12:13:05 +02:00
Łukasz Magiera
332d83bd18
sector import: Check pieces in Sealing.Receive
2022-09-19 12:13:05 +02:00
Łukasz Magiera
5c485c3375
sealing: Drop redundant Piece type
2022-09-19 12:13:05 +02:00
Łukasz Magiera
29135aa77c
sector import: Initial api scaffolding
2022-09-19 12:13:03 +02:00
Łukasz Magiera
d68bb937d8
fix: ffiwrapper: Close readers in AddPiece
2022-09-19 09:52:57 +02:00
Jiaying Wang
4abc38dacc
Merge pull request #9310 from filecoin-project/fix/empty-snap
...
fix: sealing: Abort upgrades in sectors with no deals
2022-09-16 21:21:39 -04:00
Łukasz Magiera
f1e4ecaaa3
fix: Drop unused PreCommitInfo from pipeline.SectorInfo
2022-09-16 17:51:09 +02:00
Łukasz Magiera
501d21aa28
fix expiration config handling in calcTargetExpiration
2022-09-16 15:37:50 +02:00
Łukasz Magiera
7a2a069a5a
Merge pull request #9282 from Juneezee/refactor/os.ReadDir
...
refactor: use `os.ReadDir` for lightweight directory reading
2022-09-15 16:25:51 +02:00
Łukasz Magiera
bf3daea124
sealing: Minimum upgrade sector expiration/target config
2022-09-15 16:19:57 +02:00
Łukasz Magiera
305cfa1f69
sealing: Pick safer minTarget in calcTargetExpiration
2022-09-15 16:09:13 +02:00
Łukasz Magiera
d2c726cd28
fix: sealing: Abort upgrades in sectors with no deals
2022-09-15 16:09:13 +02:00
Aayush
19c3232d2f
more fixes
2022-09-10 12:37:03 -04:00
Aayush
c0bbaebaf4
more fixes
2022-09-09 21:40:15 -04:00
Aayush
92cc24fca2
support fvm gas tracing
2022-09-09 21:40:15 -04:00
Geoff Stuart
642555d0fb
Fix discrepancies, run fiximports
2022-09-09 21:40:15 -04:00
Aayush
0efca4d266
introduce v9 actors and nv17
2022-09-09 21:40:15 -04:00
Eng Zer Jun
abef90423d
refactor: use os.ReadDir
for lightweight directory reading
...
`os.ReadDir` was added in Go 1.16 as part of the deprecation of `ioutil`
package. It is a more efficient implementation than `ioutil.ReadDir`.
Reference: https://pkg.go.dev/io/ioutil#ReadDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-09-09 19:53:40 +08:00
LexLuthr
67d4f905e6
feat: proving: Introduce manual sector fault recovery ( #9144 )
...
* rebase
* fix lint error
* fix errors
* add itest
* make gen after rebase
* apply suggestion from review
* make gen after latest rebase
* gen after rebase
* fix waitgroup
* change as per review
* refactor Recovery Batches
* fix CLI
* gen after rebase
* close the channel
2022-09-06 21:17:30 +05:30
Łukasz Magiera
088bf56f2a
Merge pull request #9231 from filecoin-project/fix/datacid-res-envvars
...
sealing: fix: Make DataCid resource env vars make more sense
2022-08-30 02:36:02 +02:00
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Łukasz Magiera
d00e1e78bb
resources: Use 32G AP resources for DC
2022-08-29 16:12:02 +02:00
Łukasz Magiera
e4ed3f8cf8
sealing: fix: Make DataCid resource env vars make more sense
2022-08-29 15:57:58 +02:00
Dirk McCormick
964bbca792
fix: DataCid - ensure reader is closed
2022-08-29 10:31:11 +02:00
Łukasz Magiera
45d1bd61ce
Merge pull request #9183 from filecoin-project/feat/sectornum-mgmt
...
feat: sealing: Use bitfields to manage sector numbers
2022-08-26 10:59:24 -04:00
Łukasz Magiera
70f0edd041
strle, sealing: address review
2022-08-25 10:19:39 -04:00
Łukasz Magiera
b8a8648f4a
numassigner: fix lint
2022-08-24 11:38:29 -04:00
Łukasz Magiera
335f5df3ec
numassigner: SectorNumReserveCount
2022-08-24 11:25:37 -04:00
Aayush
5e80276631
fix: mock sealer: grab lock in ReadPiece
2022-08-23 17:24:28 -04:00
nujz
76f6eb3edf
cgroupV1: memory.memsw.usage_in_bytes: no such file or directory
2022-08-23 17:37:47 +08:00
Łukasz Magiera
c18874c122
numassigner: Don't error on fresh non-genesis miners
2022-08-22 17:49:58 -04:00
Łukasz Magiera
129eba2b5d
sealing: numassign: itests/bug fixes
2022-08-22 16:58:36 -04:00
Łukasz Magiera
00bef607ca
sealing: numassign: take on-chain allocated numbers into account
2022-08-22 16:55:44 -04:00
Łukasz Magiera
ef2080a800
cli for managing sector reservations
2022-08-22 16:55:41 -04:00
Łukasz Magiera
ca72590e49
sealing: Use bitfields to manage sector numbers
2022-08-22 16:55:08 -04:00
Łukasz Magiera
2e29b460d2
Merge pull request #9142 from filecoin-project/chore/untangle-fsm
...
sealing pipeline: Remove useless storage adapter code
2022-08-14 15:50:31 -04:00
Łukasz Magiera
77208728ad
sealing: fix lint/tests
2022-08-14 12:50:18 -04:00
Rob Quist
f5086c98e8
fix: Add information on what worker a job was assigned to in logs
...
More detailed logs
2022-08-10 21:33:19 +02:00
Łukasz Magiera
71dacb5af8
sealing pipeline: Remove useless storage adapter code
2022-08-09 13:40:06 +02:00
Łukasz Magiera
fe2a589890
sealing pipeline: Cleanup AddresSelector plumbing
2022-08-09 12:57:36 +02:00
Łukasz Magiera
4b6a9e0387
sealing pipeline: Cleanup journal plumbing
2022-08-09 12:42:35 +02:00
Łukasz Magiera
ca1ff19541
fix: storage: don't panic in getCommitCutoff when precommit is not found
2022-08-09 11:44:40 +02:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
LexLuthr
a59d73d64a
Merge branch 'master' into feat/SchedRemoveRequest
2022-08-04 02:24:14 +05:30
LexLuthr
fad79f3218
respond to caller. Add itest
2022-08-04 02:00:24 +05:30
LexLuthr
cdc08e566f
fix everything pointed as per review
2022-08-04 02:00:24 +05:30
LexLuthr
c736dedfa6
move requestremove inside runSched
2022-08-04 02:00:24 +05:30
LexLuthr
cf78fa99ee
Rebase on master
2022-08-04 01:59:48 +05:30
Łukasz Magiera
da33d82e1b
feat: sealer: Custom worker name config
2022-08-03 12:58:49 +02:00
Łukasz Magiera
4d10adae3c
Merge branch 'hostname_variable' of github.com:clinta/lotus into feat/worker-name-set
2022-08-03 12:40:18 +02:00
Łukasz Magiera
4b47881950
Merge branch 'master' into sbansal/lotus-worker-stop-cmd
2022-08-03 10:42:19 +02:00
Łukasz Magiera
92d27aa6d2
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-03 00:56:23 +02:00
Aayush
784926b2b4
add a test for Post max sectors recovery
2022-08-02 15:28:43 -04:00
Aayush
50c22aef7a
fix: post: restrict recoveries per deadline
2022-08-02 12:32:44 -04:00
Łukasz Magiera
6d2990314f
storage: Fix detaching shared paths
2022-08-02 15:46:35 +02:00
Aayush
650130f9c4
fix: sector counter for recovery
2022-08-01 14:30:20 -04:00
Łukasz Magiera
c215a03edd
feat: wdpost: Envvar for limiting recovering sectors
2022-08-01 16:58:05 +02:00
Łukasz Magiera
3309e10b0d
itests: Test storage detach/redeclare
2022-08-01 15:58:06 +02:00
Łukasz Magiera
d690b49d17
storage: Fix linter warnings
2022-08-01 15:58:06 +02:00
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
Łukasz Magiera
943d2a72c6
storage: StorageRedeclareLocal on lotus-worker
2022-08-01 15:58:06 +02:00
Łukasz Magiera
f947e65f15
wip storage redeclare/detach
2022-08-01 15:58:06 +02:00
Shrenuj Bansal
dfea74cca8
Add stop cmd for lotus worker
2022-07-29 18:33:30 -04:00
Geoff Stuart
4b79cc68cb
Merge pull request #9043 from filecoin-project/gstuart/hacky-sealing-fix
...
fix: sealing: Workaround for sealing bug
2022-07-18 13:54:03 -07:00
Geoff Stuart
b22e24a95a
Workaround for sealing bug
2022-07-15 11:56:08 -07:00
Aayush Rajasekaran
3353cbe23a
Fixup typos
2022-07-15 08:20:37 -04:00
Łukasz Magiera
db9105e166
storage: Add one more test case to TestFileTypeAnyAllow
2022-07-15 12:47:46 +02:00
Łukasz Magiera
e1b02dd13d
storage: paths: Review suggestions
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-07-15 12:46:20 +02:00
Łukasz Magiera
ac2ea039b5
path index: Raise alerts on bad filter config
2022-07-12 21:45:12 +02:00
Łukasz Magiera
91e474e72e
sealer: Pass correct args to SubAllowed in selectors
2022-07-12 21:45:12 +02:00
Łukasz Magiera
43db2fb8a4
miner cli: Print allow/deny types in storage list
2022-07-12 21:45:12 +02:00
Łukasz Magiera
59d069dc4d
itests: Tests for storage path filters
2022-07-12 21:45:12 +02:00
Łukasz Magiera
cd682e200b
sealer: Fix no-remote move selector
2022-07-12 21:45:12 +02:00
Łukasz Magiera
6ac5c16d2b
storage: Path type filters
2022-07-12 21:45:12 +02:00
Jennifer Wang
8486ae0d51
Merge branch 'releases' into jen/backport
2022-07-11 14:27:26 -04:00
Aayush
c4ad7c81e2
remove mock file
2022-07-07 14:51:21 -04:00
Aayush
d68a60e8d9
feat: recovery: Config for maximum partition count per message
2022-07-07 14:48:37 -04:00
Łukasz Magiera
673f9238be
feat: wdpost: Config for maximum partition count per message
2022-07-07 14:10:31 -04:00
Aayush
770c32c3cb
feat: recovery: Config for maximum partition count per message
2022-07-07 12:46:33 -04:00
Łukasz Magiera
7741175b7d
feat: wdpost: Config for maximum partition count per message
2022-07-07 12:38:21 +02:00
Łukasz Magiera
d5100f883d
cfgdoc-gen: Handle empty lines in comments
2022-07-01 22:32:10 +02:00
Łukasz Magiera
59f3161fd6
wdpost: Config for disabling sector prechecks
2022-07-01 22:20:05 +02:00
Łukasz Magiera
84881f64ad
sealer: Config for disabling builtin PoSt
2022-07-01 21:24:54 +02:00
Łukasz Magiera
0277ff4239
wdpost: move fault/recover code to a separate file
2022-07-01 21:24:22 +02:00
Geoff Stuart
56c7e7a8d6
Remove old functions for getting actors cids
2022-06-29 14:58:58 -04:00
Łukasz Magiera
db676acdf8
storage: Cleanup interfaces a bit
2022-06-17 13:52:19 +02:00
Łukasz Magiera
58416d0881
storage: Don't depend on specs-storage, move to storiface
2022-06-17 13:36:33 +02:00
Łukasz Magiera
4a4d64f528
sealing pipeline: Rename 'tok' to 'tsk'
2022-06-17 11:20:33 +02:00
Łukasz Magiera
d56241603a
sealing pipeline: Remove adapter code!
2022-06-16 17:22:50 +02:00
Łukasz Magiera
59a4fe1e56
sealing pipeline: Don't adapt MpoolPushMessage
2022-06-16 15:54:15 +02:00