Łukasz Magiera
d249eb3f93
stores: Support RemoveCopies on remote store
2022-03-16 19:07:42 +01:00
Łukasz Magiera
668c33fdcd
stores: http: Support multiple storage IDs in ?keep
2022-03-16 19:07:42 +01:00
Łukasz Magiera
c4259cb594
worker: RemoveCopies expects one type at a time
2022-03-16 12:28:56 +01:00
Łukasz Magiera
5ed5744cb6
storagemgr: MoveStorage in separate steps
2022-03-16 12:28:56 +01:00
Łukasz Magiera
a88edeb79d
worker: Call RemoveCopies in MoveStorage
2022-03-16 12:28:56 +01:00
Łukasz Magiera
4d65e0101d
stores: Support RemoveCopies on remote store
2022-03-16 12:28:56 +01:00
Łukasz Magiera
45b07674e5
stores: http: Support multiple storage IDs in ?keep
2022-03-16 12:28:56 +01:00
Eng Zer Jun
c229842f57
test: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-03-15 00:21:31 +08:00
Łukasz Magiera
ce99aad438
Fix provingCheckProvableCmd
2022-03-11 18:13:51 +01:00
Łukasz Magiera
135aef78d7
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-11 17:04:58 +01:00
Łukasz Magiera
ad66ad4f7d
fix: sealing fsm: Handle inputLk correctly
2022-03-11 13:34:14 +01:00
Łukasz Magiera
91ccb7fbda
fix: piece provider: Don't log CIDs as binary
2022-03-10 14:28:18 +01:00
Łukasz Magiera
046a9f8af0
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-09 16:27:03 +01:00
Łukasz Magiera
a6892f956e
Merge pull request #7844 from llifezou/add_workerName_in_sealing_err
...
feat: #6147 : Include worker name in sealing errors
2022-03-02 13:13:34 +00:00
zenground0
f138ae8882
Less verbose sector manager logging
2022-03-01 10:52:09 -07:00
Jerry
8f95cd4149
release worker tracker lock when call cb func
2022-02-28 16:55:04 +08:00
jennijuju
f21ddf0c50
Merge branch 'releases' into jen/releasesbacktomaster
2022-02-25 20:54:11 -05:00
llifezou
dac5518005
Update extern/sector-storage/worker_local.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-02-25 11:12:18 +08:00
Jiaying Wang
ec6b786fbf
Merge pull request #8182 from filecoin-project/jen/backports
...
chore: backports: snappy related improvements/bug fixes
2022-02-24 18:07:41 -05:00
zenground0
e5de237990
Fix fault tracker to handle snap deals
2022-02-24 17:53:21 -05:00
Jiaying Wang
f9641d70af
fix: sealing: missing file type
2022-02-24 16:27:24 -05:00
zenground0
abe04c33c1
Fix fault tracker to handle snap deals
2022-02-23 09:56:47 -07:00
Aayush
56df886b55
fix: sealer: allow enable/disabling ReplicaUpdate tasks
2022-02-14 15:24:13 -05:00
Aayush
eebe784191
fix: sealer: allow enable/disabling ReplicaUpdate tasks
2022-02-14 15:08:28 -05:00
Łukasz Magiera
02c0fb7b65
ffiwrapper: Use ClearCache for update cache cleanup
2022-02-10 17:32:13 -05:00
Łukasz Magiera
9f54c4d002
Fix CheckProvable with updated sectors
2022-02-10 17:30:23 -05:00
Łukasz Magiera
ecc1f4b8f1
Make FinalizeReplicaUpdate actually do cleanup
2022-02-10 17:29:52 -05:00
Łukasz Magiera
ea32b415f0
Fix missing FinalizeReplicaUpdate in tests
2022-02-10 17:29:47 -05:00
Łukasz Magiera
53e1f75c2c
Add FinalizeReplicaUpdate into some more places
2022-02-10 17:27:49 -05:00
Łukasz Magiera
9a117fa39a
try ClearCache for update cache
2022-02-10 17:27:24 -05:00
Łukasz Magiera
212f5ddb4f
wip FinalizeReplicaUpdate
2022-02-10 17:24:26 -05:00
Łukasz Magiera
f33cf74d0f
ffiwrapper: Use ClearCache for update cache cleanup
2022-02-09 14:54:36 +01:00
Łukasz Magiera
b1a74d71f1
Fix CheckProvable with updated sectors
2022-02-09 14:41:36 +01:00
Łukasz Magiera
6123339baf
Make FinalizeReplicaUpdate actually do cleanup
2022-02-08 17:45:26 +01:00
Łukasz Magiera
c8e0341248
Fix missing FinalizeReplicaUpdate in tests
2022-02-08 17:22:41 +01:00
Łukasz Magiera
09cfad9d71
Add FinalizeReplicaUpdate into some more places
2022-02-08 17:22:41 +01:00
Łukasz Magiera
e271bae5ec
try ClearCache for update cache
2022-02-08 17:22:41 +01:00
Łukasz Magiera
142ba6660a
wip FinalizeReplicaUpdate
2022-02-08 17:22:41 +01:00
Łukasz Magiera
b74e085272
don't sort
2022-02-02 19:08:21 +00:00
Łukasz Magiera
efdb854a7c
fix some races
2022-01-31 20:53:25 +00:00
Łukasz Magiera
98f4d37f1a
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-01-31 19:50:52 +00:00
Darko Brdareski
e51ce5c508
Merge remote-tracking branch 'upstream/master' into bloxico/system-test-matrix
2022-01-27 10:57:56 +01:00
Aayush Rajasekaran
a6460be37b
remove a log
2022-01-25 13:02:45 -05:00
Aayush
e17ae2eaf4
fix: sealer: manager should lock Unsealed for ReplicaUpdate
2022-01-25 13:01:37 -05:00
Aayush
6d567b36e3
Fix: sealer: ReplicaUpdate should fetch the correct files
2022-01-25 13:01:27 -05:00
Aayush Rajasekaran
7b7ab016db
create replica update paths in acquireSectors
2022-01-25 13:01:18 -05:00
Aayush Rajasekaran
a3c5fadcc0
feat: sealing: Add ReplicaUpdate work to Resource table
2022-01-25 13:01:05 -05:00
Aayush Rajasekaran
2d0929e305
remove a log
2022-01-25 12:55:56 -05:00
Aayush Rajasekaran
92e6f29cc8
chore: sealer: quieten a log
2022-01-24 18:28:52 -05:00
Aayush
5cafdc2f29
fix: sealer: manager should lock Unsealed for ReplicaUpdate
2022-01-21 11:12:12 -05:00
Aayush Rajasekaran
ff845aa793
Merge pull request #7977 from filecoin-project/chore/sealtasks-comment
...
chore: remove inaccurate comment in sealtasks
2022-01-21 10:53:04 -05:00
Łukasz Magiera
f148397e1b
post workers: Fix race in setting vproofs
2022-01-21 12:31:24 +01:00
Łukasz Magiera
82c9e72aab
post workers: Fix skipped handling
2022-01-21 10:39:14 +01:00
Łukasz Magiera
4682e72cf4
Address review
2022-01-21 10:11:04 +01:00
Łukasz Magiera
1e5e69ec9d
Typos
...
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
2022-01-21 10:02:00 +01:00
Aayush
752f4a3d67
Fix: sealer: ReplicaUpdate should fetch the correct files
2022-01-20 15:06:53 -05:00
Łukasz Magiera
33dfcf2663
stores: Fix single post proof reading with updated sectors
2022-01-20 15:27:42 +01:00
Łukasz Magiera
e476cf7968
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-01-20 13:15:48 +01:00
Aayush Rajasekaran
ab8bf393c2
create replica update paths in acquireSectors
2022-01-19 11:41:38 -05:00
Aayush Rajasekaran
d0390181ec
feat: sealing: Add ReplicaUpdate work to Resource table
2022-01-19 11:41:32 -05:00
Łukasz Magiera
c41ccb6c37
chore: remove inaccurate comment in sealtasks
2022-01-19 10:46:37 +01:00
Łukasz Magiera
fa09b9afb1
post workers: Share resource accounting code
2022-01-18 16:02:37 +01:00
Łukasz Magiera
8ac20305df
Fix double unlock in WorkerStats
2022-01-18 12:40:04 +01:00
Łukasz Magiera
c79f2b9d38
post workers: Fix lint
2022-01-18 12:11:59 +01:00
Łukasz Magiera
b38141601c
Untangle ffi from api
2022-01-18 11:57:04 +01:00
Łukasz Magiera
03fa955e9e
Cleanup imports
2022-01-18 11:37:24 +01:00
Łukasz Magiera
f2496d87c9
post workers: Snapdeals updates
2022-01-18 11:25:04 +01:00
Łukasz Magiera
0c062f9c08
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-01-18 10:49:42 +01:00
Aayush Rajasekaran
ca57546ef5
Remove unnecessary params from VerifyWinningPost
2022-01-14 17:14:32 -05:00
zenground0
d6aa17e21f
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-14 17:14:32 -05:00
zenground0
d1480c36c0
RemoveData and Decode
...
- Unsealing replica update with sector key works and tested
- Sector key generation added and tested
2022-01-14 17:14:32 -05:00
zenground0
4936b4ea44
Review Response
2022-01-14 17:14:32 -05:00
zenground0
c4069824f7
WIP
2022-01-14 17:14:32 -05:00
zenground0
93656e65f8
WIP sector storage and integration test
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
393d8541e2
Update deps
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
1ef780d96f
Plug in the FFI call
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
a8cb027c08
Integrate v7 actors
2022-01-14 17:14:32 -05:00
Łukasz Magiera
4a874eff70
post workers: Cleanup, tests
2022-01-14 14:17:52 +01:00
Aayush Rajasekaran
d645c5fbab
Remove unnecessary params from VerifyWinningPost
2022-01-11 12:06:39 -05:00
Łukasz Magiera
e216aefd23
fix make gen
2022-01-10 18:24:00 +01:00
zenground0
33f2d24f54
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-10 15:39:38 +05:30
mz-sirius
793b5c7cc3
fix ci err
2022-01-05 21:41:21 +08:00
mz-sirius
3fd55fa56b
decoupling winningpost and windowpost from lotus-miner
2022-01-05 01:50:49 +08:00
llifezou
4b685c5e26
Include worker name in sealing errors
2021-12-23 17:44:43 +08:00
Darko Brdareski
dda1a42a2a
Merge branch 'bloxico/system-test-matrix' of https://github.com/filecoin-project/lotus into merge_lotus
2021-12-20 15:48:16 +01:00
shotcollin
d10d0a20b1
fix typo in log warning
...
very minor but this warning comes up a lot so it'd be nicer if it wasn't a grammatical error too
2021-12-19 17:07:11 -07:00
Darko Brdareski
2f1f35cc71
Annotate storage miner features
2021-12-15 15:30:42 +01:00
Aayush Rajasekaran
80d5e52923
Merge branch 'master' into next
2021-12-13 13:24:28 -05:00
Łukasz Magiera
ba3c96f8c6
stores: Reduce log spam during retrievals
2021-12-10 16:47:32 -05:00
Łukasz Magiera
dafdb7689c
Fix mock ReadPiece
2021-12-10 16:47:12 -05:00
Łukasz Magiera
46ba2b6b4f
fr32: Reduce MTTresh from 32M to 512k per core
...
This results in 64x less bytes allocated when spawning new readers
for larger pieces.
Results in about 30% speedup in 1G unpad benchmark on AMD TR 2950x
2021-12-10 16:47:07 -05:00
Łukasz Magiera
b4c1e340ea
piecereader: Avoid allocating 1024MB slices per read
2021-12-10 16:47:01 -05:00
Łukasz Magiera
a438e6fa73
piecereader: Avoid redundant roundtrips when seeking
2021-12-10 16:46:57 -05:00
Łukasz Magiera
b21d3ded2f
piecereader: Move closer to storage
2021-12-10 16:46:52 -05:00
Łukasz Magiera
e8ef39e734
stores: Reduce log spam during retrievals
2021-12-10 11:28:04 +01:00
Łukasz Magiera
c31f4de7d5
Fix mock ReadPiece
2021-12-09 16:26:59 +01:00
Łukasz Magiera
6fd1609410
fr32: Reduce MTTresh from 32M to 512k per core
...
This results in 64x less bytes allocated when spawning new readers
for larger pieces.
Results in about 30% speedup in 1G unpad benchmark on AMD TR 2950x
2021-12-09 16:14:47 +01:00
Łukasz Magiera
9c75a3aaa8
piecereader: Avoid allocating 1024MB slices per read
2021-12-09 15:49:43 +01:00
Łukasz Magiera
a3d8494a04
piecereader: Avoid redundant roundtrips when seeking
2021-12-09 14:52:33 +01:00
Łukasz Magiera
13b260e7f7
piecereader: Move closer to storage
2021-12-08 23:20:20 +01:00