Aloxaf
0dd7976ffb
fix: sealing: typo in FinalizeReplicaUpdate
2023-09-08 10:15:58 +08:00
Aayush Rajasekaran
8ab6eaa6e3
Merge pull request #11230 from filecoin-project/asr/test-seal-and-verify-3-needs-to-stop
...
feat: skip TestSealAndVerify3 until it's fixed
2023-09-06 14:48:38 -04:00
Mikers
5e5a81bf23
add go linter - "unused" ( #11235 )
...
* add go linter - "unused"
* use _ to name unused but needed padding variable
* remove unused code
* add queue test to appease unused linter
* remove unused code in test
* remove unused func
* remove unused struct identified by linter
* remove unused variable
* remove unused code
* remove unused file
* remove unused struct
* remove unused function
* remove unused observe peers function in raft
* remove unused declareFaults function
* annotate nolint:unused on needed methods
2023-09-05 12:19:43 -10:00
Andrew Jackson (Ajax)
b73c016f6d
unseal - comments
2023-09-01 17:15:56 -05:00
Aayush
b92cff74f2
feat: skip TestSealAndVerify3 until it's fixed
2023-09-01 10:08:55 -04:00
Łukasz Magiera
077f3f0c33
ffiwrapper: Fix sector key regen
2023-08-31 09:46:10 -04:00
Łukasz Magiera
8ea44e82d1
ffiwrapper: Correctly create unsealed file when doesn't exist
2023-08-31 09:46:10 -04:00
Łukasz Magiera
e74eb6af09
make the linter happy
2023-08-31 09:46:10 -04:00
Jennifer Wang
ad6b0575c1
make gen, mod tidy
2023-08-31 09:46:10 -04:00
Łukasz Magiera
a965fc660e
fix build
2023-08-31 09:46:10 -04:00
Jennifer Wang
4b78c4ea1e
ffiwrapper: Fix sector acquire logic in unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
6167bcc8ce
ffiwrapper: Fix sector acquire logic in unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
fa0f117edd
ffiwrapper: Fix multiple bugs in snapdeals unsealing
2023-08-31 09:46:10 -04:00
Łukasz Magiera
bcc2d7fd10
ffiwrapper: Fix RegenerateSectorKey
2023-08-31 09:46:10 -04:00
Jennifer Wang
b0b39424e4
ffiwrapper: Test lower-level GenerateSDR
2023-08-31 09:46:10 -04:00
Łukasz Magiera
f8faa85cba
make gen
2023-08-28 16:12:14 +02:00
Łukasz Magiera
d83956aa6d
ci: Ensure params in sealer tests
2023-08-28 13:43:50 +02:00
Łukasz Magiera
bce5535679
Merge pull request #11182 from filecoin-project/TestSealerDLBefore
...
Take Download out of Sealer time
2023-08-25 10:27:42 +02:00
Łukasz Magiera
366329b085
Merge pull request #11087 from filecoin-project/fix/pc1-retr-loop
...
fix: sealing pipeline: Fix PC1 retry loop
2023-08-24 11:08:39 +02:00
Łukasz Magiera
882f00fbf3
sealing: retrySoftErr: Better comment on ctx handling
2023-08-23 17:29:18 +02:00
Andrew Jackson (Ajax)
c48bf864a4
Take Download out of Sealer time
2023-08-17 22:34:08 -05:00
Andrew Jackson (Ajax)
76bca6c392
mac seal test
2023-08-17 07:30:19 -05:00
Łukasz Magiera
33182967eb
Merge pull request #11142 from filecoin-project/feat/act-precommv2
...
sealing: Switch to calling PreCommitSectorBatch2
2023-08-14 21:31:24 +02:00
Łukasz Magiera
b11fba3561
itests: Port deadline-toggling itest to nv20
2023-08-14 20:25:36 +02:00
nemo
c6d31c0d6d
fix: downgrade harmless warning to debug
2023-08-08 10:52:35 -04:00
Łukasz Magiera
98aff9dcc6
sealing pipeline: Only set pc commd when deals are present
2023-08-08 15:35:19 +02:00
Łukasz Magiera
40cfe626b8
sealing pipeline: Set commd in precommit params
2023-08-08 15:12:50 +02:00
Łukasz Magiera
41fac326b1
sealing pipeline: Fix unit tests
2023-08-08 15:06:43 +02:00
Łukasz Magiera
a4d22f585f
sealing pipeline: Drop legacy single-pc1 submit path
2023-08-08 14:43:00 +02:00
Łukasz Magiera
1c73ac69b4
pc batch: drop individual precommit processing
2023-08-08 13:04:21 +02:00
Łukasz Magiera
ef2be0b546
sealing: pc batch: Call PreCommitSectorBatch2
2023-08-08 12:40:08 +02:00
Łukasz Magiera
884246677b
Merge pull request #11046 from filecoin-project/fix/fsm-commfail-loop
...
fix: sealing: Fix RetryCommitWait loop when sector cron activation fails
2023-08-07 12:11:57 -07:00
Mladen Trišić
9459c612fb
sector import: fix evaluating randomness when importing a sector passing SubmitCommit state
2023-08-01 12:05:39 +02:00
Łukasz Magiera
0a83896589
sealing pipeline: Better retry for soft errors
2023-07-19 09:51:59 -07:00
Łukasz Magiera
d127208b85
sealing pipeline: Fix PC1 retry loop
2023-07-18 13:04:06 -07:00
Łukasz Magiera
9b52b06ea9
fix: sealing: Fix RetryCommitWait loop when sector cron activation fails
2023-07-04 13:35:49 +02:00
Phi
8220e7f82f
Tune down log-lvl
...
Tune down log-lvl
2023-07-04 09:35:49 +02:00
Łukasz Magiera
c79acf9ca4
sealing: Use only non-assigned deals when selecting snap sectors
2023-06-23 18:40:46 +02:00
Jorropo
6c01310728
chore: migrate to boxo
...
This migrates everything except the `go-car` librairy: https://github.com/ipfs/boxo/issues/218#issuecomment-1529922103
I didn't migrated everything in the previous release because all the boxo code wasn't compatible with the go-ipld-prime one due to a an in flight (/ aftermath) revert of github.com/ipfs/go-block-format. go-block-format has been unmigrated since slight bellow absolutely everything depends on it that would have required everything to be moved on boxo or everything to optin into using boxo which were all deal breakers for different groups.
This worked fine because lotus's codebase could live hapely on the first multirepo setup however boost is now trying to use boxo's code with lotus's (still on multirepo) setup: https://filecoinproject.slack.com/archives/C03AQ3QAUG1/p1685022344779649
The alternative would be for boost to write shim types which just forward calls and return with the different interface definitions.
Btw why is that an issue in the first place is because unlike what go's duck typing model suggest interfaces are not transparent https://github.com/golang/go/issues/58112 , interfaces are strongly typed but they have implicit narrowing. The issue is if you return an interface from an interface Go does not have a function definition to insert the implicit conversion thus instead the type checker complains you are not returning the right type.
Stubbing types were reverted https://github.com/ipfs/boxo/issues/218#issuecomment-1478650351
Last time I only migrated `go-bitswap` to `boxo/bitswap` because of the security issues and because we never had the interface return an interface problem (we had concrete wrappers where the implicit conversion took place).
2023-06-19 14:45:05 -07:00
Aayush Rajasekaran
ce5e242d76
Merge pull request #10915 from filecoin-project/fix/upgrade-sector-selection
...
sealing: Improve upgrade sector selection
2023-05-30 13:32:52 -04:00
Łukasz Magiera
17915dce5a
sealing: Don't select sectors with no deals lined up for upgrading
2023-05-27 13:03:21 +02:00
Łukasz Magiera
4b5a665422
Merge remote-tracking branch 'origin/master' into feat/piecereader-perf
2023-05-26 13:00:42 +02:00
Łukasz Magiera
090b98ad33
sealing: Attempt to improve upgrade sector selection
2023-05-26 12:31:35 +02:00
Łukasz Magiera
b58daf5340
piecereader: address review
2023-05-25 16:05:36 +02:00
Łukasz Magiera
5e58f64380
piecereader: Fix double buffer free
2023-05-23 16:45:46 +02:00
Łukasz Magiera
f0fec13ec9
piecereader: Metrics fixes
2023-05-23 14:15:46 +02:00
Łukasz Magiera
326a0356a4
piecereader: Add metrics
2023-05-23 13:32:17 +02:00
Łukasz Magiera
6c62e6d8e2
fix tests/lint
2023-05-23 12:26:13 +02:00
Łukasz Magiera
587c3fde58
piecereader: Fix parallel buffer access, close readers in readInto
2023-05-23 12:26:13 +02:00
Łukasz Magiera
cd75ea0fe4
piecereader: Retune to allow parallel ReadAt calls
2023-05-23 12:26:13 +02:00