Ł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
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