Aayush
410bdc389e
fix: nv21fix migration: correctly upgrade system actor
2023-11-09 14:14:41 -05: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
Aayush
e17af657da
chore: stmgr: migrations: do not log noisily on cache misses
2023-07-18 10:22:30 -04:00
Travis Person
f641139bf2
Merge pull request #10282 from filecoin-project/feat/cache-migrated-stateroot
...
feat: stmgr: cache migrated stateroots
2023-03-09 11:47:43 -08:00
Travis Person
b4e589a0f7
review comments
2023-03-09 18:54:29 +00:00
Steven Allen
dbbcf4b2ee
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.).
2023-03-01 16:02:18 -08:00
Travis Person
814c146626
feat: stmgr: cache migrated stateroots
2023-03-01 16:17:34 +00:00
Travis Person
2dcaddf61d
feat: stmgr: add env to disable premigrations
...
Setting the environment variable `LOTUS_DISABLE_PRE_MIGRATIONS=1` will
discard premigrations for all upgrade.
2023-02-17 23:12:26 +00:00
Łukasz Magiera
08b22edd89
fix make gen
2022-08-29 16:25:30 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
vyzo
2690b69831
fix rebase issues
2022-04-14 19:49:08 +03:00
vyzo
3b1964c507
remove manifest from upgrade schedule, get it inside the migration instead
2022-04-14 19:33:24 +03:00
vyzo
77613b57a9
fix lint
2022-04-14 19:31:34 +03:00
vyzo
a9ae38a1ce
wire in nv16 migration signature and manifests
2022-04-14 19:29:22 +03:00
Aayush
0bfbcfb5e9
stmgr: GetNtwkVersion: return genesis network version before the first upgrade
2022-03-25 15:09:14 -04:00
Aayush Rajasekaran
8aabe1b488
Fast migration for v15
2022-01-11 17:19:38 -05:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Steven Allen
91da70fb7d
fix: comment spelling
2021-08-31 10:37:51 -07:00
Steven Allen
e6902304d5
fix: address expensive fork review
2021-08-30 16:20:23 -07:00
Steven Allen
165735d01a
fix: correctly handle null blocks when detecting an expensive fork
...
Also improve/fix documentation to reflect the _actual_ tipset that's
passed into upgrades.
And update some comments.
fixes #7192
2021-08-27 15:04:01 -07:00
Łukasz Magiera
50b217817e
stmgr: Split upgrade code from upgrade runtime
2021-07-27 14:48:30 +02:00
ZenGround0
4cd05fa39c
Lint
2021-07-22 09:49:47 -04:00
ZenGround0
ed844c5283
Use current ntwk version in mpool message check
2021-07-22 09:49:47 -04:00
ZenGround0
47b5afa84b
Add version six and a half
2021-07-22 09:49:47 -04:00
frrist
0519c77c24
polish(stmgr): define ExecMonitor for message applicaiton callback
2021-06-07 11:03:18 -07:00
Łukasz Magiera
2afe725933
Get PreCommitting to work
2021-05-17 22:02:23 +02:00
Aayush Rajasekaran
b5da2655dc
Introduce v5 actors
2021-05-10 19:44:28 -04:00
Aayush Rajasekaran
f1ded63d60
v4 specs-actors integration, nv12 migration
2021-04-27 02:02:44 -04:00
Aayush Rajasekaran
cea46e5f53
Upgrade to version 11 at Norwegian height
2021-03-29 18:50:13 -04:00
Peter Rabbitson
c340750672
Nerpa reset backport/cherry-pick from 73eabc310f
2021-03-18 20:55:15 +01:00
Raúl Kripalani
3795cc2bd2
segregate chain and state blockstores.
...
This paves the way for better object lifetime management.
Concretely, it makes it possible to:
- have different stores backing chain and state data.
- having the same datastore library, but using different parameters.
- attach different caching layers/policies to each class of data, e.g.
sizing caches differently.
- specifying different retention policies for chain and state data.
This separation is important because:
- access patterns/frequency of chain and state data are different.
- state is derivable from chain, so one could never expunge the chain
store, and only retain state objects reachable from the last finality
in the state store.
2021-02-28 22:49:44 +00:00
Raúl Kripalani
7f0f7d0b36
Merge branch 'master' into refactor/lib/blockstore
2021-02-28 19:55:23 +00:00
Aayush Rajasekaran
60b7f56297
Code review
2021-02-19 15:10:56 -05:00
Aayush Rajasekaran
96b4b828f7
Remove the null bls actor from the init actor state
2021-02-18 19:01:28 -05:00
Aayush Rajasekaran
a0fedf8bdb
Only delete the zero BLS actor on mainnet
2021-02-18 19:01:21 -05:00
Aayush Rajasekaran
5aff54161a
Delete the null-bls actor
2021-02-18 19:01:03 -05:00
Raúl Kripalani
d1104fec4c
rename blockstores for consistency.
2021-01-29 23:17:25 +00:00
Raúl Kripalani
e02fdf5064
Merge branch 'master' into refactor/lib/blockstore
2021-01-29 21:21:31 +00:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Steven Allen
53271729b6
tweak migration perf
2021-01-28 16:15:23 -08:00
Steven Allen
2f3c912ad9
improve upgrade logging
2021-01-28 16:15:23 -08:00
Steven Allen
39d4f6780d
pre-migration: refactor timing specification
...
There are now three times:
1. StartWithin: start within X epochs of the upgrade.
2. DontStartWithin: don't start within X epochs of the upgrade.
3. StopWithin: stop within X epochs of the upgrade.
2021-01-27 16:09:07 -08:00
Steven Allen
bceb246080
set worker counts for pre-migrations
2021-01-27 15:47:51 -08:00
Steven Allen
9574db6d0a
log in migration
2021-01-27 15:05:00 -08:00
Steven Allen
9a03c003fe
fix sorted test
2021-01-27 13:05:14 -08:00
Steven Allen
854385168d
add additional pre-migration validations
2021-01-27 12:57:47 -08:00
Steven Allen
35d6a40071
cleanup pre-migration code a bit
2021-01-27 12:57:17 -08:00
Steven Allen
05026a23b9
actually use the temp cache for pre-migrations
2021-01-27 12:57:17 -08:00
Steven Allen
32059d0cbf
stmgr: only persist the migration cache on success
...
Otherwise, we may end up referencing blocks we never wrote to disk.
2021-01-27 12:56:47 -08:00
Steven Allen
b08abc12ba
fix error message
2021-01-27 12:55:56 -08:00