Ł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
85b78f9ffd
update ffi to use lowercased synth challenges file name
2023-07-13 15:48:20 +02:00
Łukasz Magiera
a39694741e
ffiwrapper: Test synth porep
2023-07-13 15:48:20 +02:00
Łukasz Magiera
50cf19722a
Make Synthetic PoRep work
2023-07-13 15:48:20 +02:00
Łukasz Magiera
518c2cdf6e
rename synth porep config to a shorter name
2023-07-13 15:48:16 +02:00
Łukasz Magiera
c7dd001c64
ffiwrapper: Synth cleanup fixes
2023-07-13 15:48:16 +02:00
Andrew Jackson (Ajax)
7f306a5b02
Synthetic PoRep Impl
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
5ed8a5c0ac
clearSynthProofs
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
08038540e4
Impl synthPoRep
2023-07-13 15:47:59 +02:00
Andrew Jackson (Ajax)
f4fe4cae9c
synthetic porep config
2023-07-13 15:47:59 +02: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
Łukasz Magiera
8b2ef40f4e
storage: Weave end offset into unsealed reader code
2023-05-23 12:26:13 +02:00
Łukasz Magiera
6fd93ed170
fix: sched: Address GET_32G_MAX_CONCURRENT regression ( #10850 )
...
* Fix 1.21 regression: GET_32G_MAX_CONCURRENT + mixed prepared/executing leads to stuck scheduler
If you have 12 GET tasks and GET_32G_MAX_CONCURRENT=1, sealing jobs will only show assigned tasks for GET of the miner
and is stuck.
I believe this to be a regression of 1.21 unifying the counters, in the case of GETs where PrepType and TaskType
both being seal/v0/fetch leading to a state where tasks are blocked since already counted towards the limit.
* itests: Repro issue from PR #10633
* make counters int (non-working)
* fix: worker sched: Send taskDone notifs after tasks are done
* itests: Make TestPledgeMaxConcurrentGet actually reproduce the issue
* make the linter happy
---------
Co-authored-by: Steffen Butzer <steffen.butzer@outlook.com>
2023-05-10 15:43:42 -04:00
Łukasz Magiera
2f469c2f58
fix: tests: Use mutex-wrapped datastore in storage tests
2023-05-09 18:06:41 +02:00
Shrenuj Bansal
78800a4e77
fix: sealing: Make lotus-worker report GPU usage to miner during ReplicaUpdate task ( #10806 )
...
* Make lotus-worker report GPU usage to miner during ReplicaUpdate task
* make gen
---------
Co-authored-by: Jacob Crowther <jcrowthe@users.noreply.github.com>
2023-05-03 12:28:03 -04:00
Łukasz Magiera
9d2d53b58e
fix: prover: Propagate skipped sectors in local PoSt
2023-04-27 09:26:12 +02:00
Łukasz Magiera
aeee542fb9
Merge pull request #10696 from filecoin-project/fix/nil-terminate-wait
...
fix: sealing pipeline: Allow nil message in TerminateWait
2023-04-25 19:28:52 +02:00
Łukasz Magiera
7e34b49b5d
Merge pull request #10661 from filecoin-project/fix/cleanup-temp-failed-fetch
...
fix: storage: Remove temp fetching files after failed fetch
2023-04-25 19:28:33 +02:00
Aayush
5a061e4677
Merge branch 'releases' into asr/merge-release-into-master
2023-04-23 14:58:50 -04:00
Łukasz Magiera
b44ae9a7d8
Merge pull request #10647 from filecoin-project/sbansal/split-pcb
...
feat: sealing: Split PCA/PCB batches if gas used exceeds block limit
2023-04-21 18:30:27 +02:00
sirius
07416e8c0c
update: builtin to builtin11 in wdpost worker
2023-04-21 12:19:06 +08:00
Shrenuj Bansal
d1f3380850
change comment
2023-04-20 12:15:51 -04:00
Shrenuj Bansal
0c83781a7f
Add tests for PCB/PCA batch splitting
2023-04-19 18:44:32 -04:00
ZenGround0
327760acff
chore: build: Merge/v22 into 21 for 23 ( #10702 )
...
* chore: update ffi to increase execution parallelism
* Don't enforce walking receipt tree during compaction
* fix: build: drop drand incentinet servers
* chore: release lotus v1.20.4
* Apply suggestions from code review
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
* feat: Introduce nv19 skeleton
Update to go-state-types v0.11.0-alpha-1
Introduce dummy v11 actor bundles
Make new actors adapters
Add upgrade to Upgrade Schedules
make jen
Update to go-state-types v0.11.0-alpha-2
* feat: vm: switch to the new exec trace format (#10372 )
This is now "FVM" native. Changes include:
1. Don't treat "trace" messages like off-chain messages. E.g., don't
include CIDs, versions, etc.
2. Include IPLD codecs where applicable.
3. Remove fields that aren't filled by the FVM (timing, some errors,
code locations, etc.).
* feat: implement FIP-0061
* Address review
* Add and test the FIP-0061 migration
* Update actors bundles to fip/20230406
* Update to go-state-types master
* Update to actors v11.0.0-rc1
* - Update go state types
- Keep current expiration defaults on creation, extension some tests
- Update ffi
* ffi experiment
* Integration nv19 migration
- Open splitstore in migration shed tool
- Update state root version
* Post rebase fixup
* Fix
* gen
* nv19 invariant checking
* Try fixig blockstore so bundle is loaded
* Debug
* Fix
* Make butterfly upgrades happen
* Another ffi experiment
* Fix copy paste error
* Actually schedule migration (#10656 )
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* Butterfly artifacts
* Set calibration net upgrade height
* Review Response
* Fix state tree version assert
* Quick butterfly upgrade to sanity check (#10660 )
* Quick butterfly upgrade to sanity check
* Update butterfly artifacts
* Revert fake fix
* Give butterfly net correct genesis
* Butterfly artifacts
* Give time before upgrade
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* chore:releasepolish v1.22 release (#10666 )
* Update butterfly artifacts
* register actors v11
* Update calibration upgrade time
* State inspection shed cmds
* Fix
* make gen
* Fix swallowed errors
* Lint fixup
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* v1.22.0-rc3
* bundle fix
* Feat/expedite nv19 (#10681 )
* Update go-state-types
* Modify upgrade schedule and params
* Revert fip 0052
* Update gst
* docsgen
* fast butterfly migration to validate migration
* Correct epoch to match specified date
* Update actors v11
* Update changelog build version
* Update butterfly artifacts
* Fix lotus-miner init to work after upgrade
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* fix:deps:stable ffi for stable release (#10698 )
* Point to stable ffi for stable lotus release
* go mod tidy
---------
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
* Update CHANGELOG.md
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
---------
Co-authored-by: Aayush Rajasekaran <arajasek94@gmail.com>
Co-authored-by: zenground0 <ZenGround0@users.noreply.github.com>
Co-authored-by: Jiaying Wang <42981373+jennijuju@users.noreply.github.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: jennijuju <jiayingw703@gmail.com>
2023-04-19 18:40:18 -04:00
Łukasz Magiera
4bdb6b34b3
fix: sealing pipeline: Allow nil message in TerminateWait
2023-04-19 15:43:50 +02:00
Shrenuj Bansal
79826447f5
fix unit and integration test breaks
2023-04-12 21:45:43 -04:00
Łukasz Magiera
7a4f69721c
fix: storage: Remove temp fetching files after failed fetch
2023-04-12 17:00:10 -07:00
Shrenuj Bansal
4eb4af639a
Split PCA msg into smaller batches
2023-04-12 00:30:19 -04:00
Shrenuj Bansal
6f91dc7c5b
populate result error on exit conditions
2023-04-10 16:24:13 -04:00
Shrenuj Bansal
8893c62a42
make gen
2023-04-10 15:39:42 -04:00
Shrenuj Bansal
1e25d7b453
Split precommit batches if gas used exceeds block limit
2023-04-10 14:52:39 -04:00
Phi
9fd69377df
fix: unseal: check if sealed sector exists
...
Check if sealed or update sector exists when `SectorsUnsealPiece` is called.
2023-04-10 09:53:19 +02:00
Shrenuj Bansal
2278a209e2
Add feature to stagger sector prove commit submission ( #10543 )
...
* Add feature to stagger sector prove commit submission
* make gen and docsgen as usual
* address comments and lint
* Update comment
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
* make gen for stupid comment
* make docsgen
* address comments
---------
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2023-04-01 19:30:32 -04:00
Łukasz Magiera
3af5ef1167
Merge pull request #10588 from filecoin-project/fix/file-does-not-exsist-logs
...
fix: log: Stop logging `file does not exists`
2023-03-30 20:24:59 +02:00
Aayush
66fc6dc3e5
refactor: stop using deprecated io/ioutil
2023-03-29 15:40:49 -04:00
Aayush
a724a713da
refactor: stop using deprecated io/ioutil
2023-03-29 15:38:46 -04:00
Phi
a99946937c
fix: log: Stop logging file does not exists
...
Stop logging `file does not exists` errors when retrieving disk usage information.
2023-03-29 15:32:32 +02:00
Łukasz Magiera
7e414ac390
Merge remote-tracking branch 'origin/master' into feat/go-data-transfer-v2
2023-03-15 11:37:53 +01:00
Steven Allen
dcb49dc8ee
refactor: update cache to the new generic version ( #10463 )
...
- Adds type safety.
- Reduces allocations.
- Fixes the drand cache (was storing by value, but retrieving by pointer)
2023-03-13 15:29:09 -07:00
Łukasz Magiera
80ccd14447
Merge pull request #10356 from filecoin-project/feat/assigner-experiments
...
feat: sched: Assigner experiments
2023-03-09 01:28:31 +01:00
Łukasz Magiera
52ae215104
Merge pull request #10363 from filecoin-project/fix/fsm-shutdown-removed-sectors
...
fix: fsm: shutdown removed sectors FSMs
2023-03-08 19:32:47 +01:00
Łukasz Magiera
d114d8fe7e
deprecate MarketListRetrievalDeals, make gen
2023-03-08 17:15:16 +01:00
Łukasz Magiera
b0ebdb6882
make gen
2023-03-06 15:07:49 +01:00
Łukasz Magiera
9a295e58b0
post worker sched: Retry on alternative worker on RPC errors
2023-03-06 14:30:58 +01:00
Łukasz Magiera
e170487faf
post worker sched: Filter out disabled workers correctly
2023-03-06 13:56:23 +01:00
Łukasz Magiera
c484c38735
worker sched: Separate resource def for preparing window
2023-02-28 10:52:50 +01:00
Łukasz Magiera
04fe9062a6
fix: fsm: shutdown removed sectors FSMs
2023-02-28 09:48:17 +01:00
Łukasz Magiera
2316363f7a
sched: Share active/preparing task counters
2023-02-28 09:08:49 +01:00
Łukasz Magiera
745476c9ab
feat: sched: Assigner experiments
2023-02-27 17:54:25 +01:00
Łukasz Magiera
a0771b12eb
Merge pull request #9878 from filecoin-project/gstuart/check-allocation-expiry
...
feat: Check for allocation expiry when waiting to seal sectors
2023-01-27 13:05:09 +01:00
Łukasz Magiera
fc6721cff7
feat: wdpost: Emit more detailed errors
2023-01-26 11:57:16 +01:00
Adin Schmahmann
d35818293a
fix: stub out the FileSize command so lotus libraries can build on Windows
2023-01-17 01:03:10 -05:00
Geoff Stuart
787470c2b4
Remove workaround that is no longer needed
2023-01-12 12:39:57 -05:00
Geoff Stuart
12a06defd1
Check sectors for allocation expiry before committing
2023-01-11 16:24:34 -05:00
Phi
bd28a4bca4
Add snap-sector types
...
Add snap-sector types
2022-12-15 14:29:58 +01:00
Phi
87e384e7fd
Update svg-image
...
We do not depend on specs-storage anymore, this has been moved into lotus (storiface)
2022-12-15 10:49:58 +01:00
Phi
a8b406e7b7
Update svg-file
...
Update svg-file and headings
2022-12-15 10:15:07 +01:00
Geoff Stuart
ae4010ffb6
Drop actor keys from chain/actors/manifest.go
2022-12-13 18:02:34 -05:00
Geoff Stuart
f95e6602a0
Check for nil returns from StateSectorGetInfo
2022-12-12 10:44:08 -05:00
Łukasz Magiera
f0bf3408bc
sealing: Add a guard check to getExpirationCached when sector not found
2022-12-09 09:56:11 +01:00
Łukasz Magiera
2fd0cb4aff
fix: sealing: Avoid nil dereference in debug log
2022-12-09 09:54:28 +01:00
Łukasz Magiera
7b5e8d1e96
Merge pull request #9748 from filecoin-project/feat/metrics-tag-storage-use
...
feat: metrics: Tag storage path types
2022-11-29 18:06:23 +01:00
Ian Davis
0a4efd4820
Merge branch 'main' into id/update-go-version
2022-11-29 14:29:11 +00:00
Łukasz Magiera
57c31a79e7
feat: metrics: Tag storage path types
2022-11-29 13:06:56 +01:00
Łukasz Magiera
1597e85906
sched: Address review
2022-11-29 11:46:51 +01:00
Łukasz Magiera
5a458a60c2
fix sched_test
2022-11-29 11:44:57 +01:00
Łukasz Magiera
5881edb75e
feat: sched: Cache worker calls
2022-11-29 11:44:57 +01:00
Łukasz Magiera
d82b2a5804
Merge pull request #9738 from filecoin-project/feat/sched-cycle-metrics
...
feat: sched: Add metrics around sched cycle
2022-11-28 23:57:58 +01:00
Łukasz Magiera
285cc66773
Merge pull request #9648 from filecoin-project/fix/snap-abort-cleanup
...
fix: sealing: More complete snapdeals abort cleanup
2022-11-28 23:26:32 +01:00
Łukasz Magiera
8ba4355cab
Merge pull request #9694 from filecoin-project/9159-allow-lotus-worker-to-unseal-sector-even-if-does-not-store-unsealed-data-long-term
...
fix: sealing: Set all path types for Unseal pipeline to sealing storage
2022-11-28 20:15:17 +01:00
Łukasz Magiera
c0fce07889
sched: Metrics around scheduldng workload
2022-11-28 19:51:18 +01:00
Łukasz Magiera
bc879c5bd8
feat: sched: Add metrics around sched cycle
2022-11-28 19:07:35 +01:00
Ian Davis
9f85d3dca7
Address simple linter issues
2022-11-24 16:32:27 +00:00
Shrenuj Bansal
fa596eee5b
Move unsealed sector from sealing to long term storage after Unseal
2022-11-23 15:22:14 -05:00
Aayush
355a08cd04
fix: sealer: Tweak confidence for handleUpdateActivating
2022-11-23 14:38:57 -05:00
Łukasz Magiera
ea9a8303c8
sealing: tasks: TTReleaseUnsealed -> TTFinalizeUnsealed
2022-11-23 18:57:17 +01:00
Łukasz Magiera
d6f73c1a81
sealing: Address snap cleanup review
2022-11-23 18:57:17 +01:00