prysm-pulse/beacon-chain/state/stategen
terence tsao 840ffc84ac
Save state to DB during long non-finality (#7597)
* Starting saving state during hot

* Add a log

* Add helpers to turn on/off mode

* Add locks

* Add missing return

* Clean up

* Add logic to migration to handle db roots

* Add tests for on and off

* Add more tests

* Add test for migrate

* @prestonvanloon's feedback

Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-23 00:35:30 +00:00
..
BUILD.bazel More feature flags removal (#7526) 2020-10-14 16:18:40 +00:00
epoch_boundary_state_cache_test.go Applies assertion funcs to state tests (#6623) 2020-07-18 07:56:48 +00:00
epoch_boundary_state_cache.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
errors.go Code quality issues - Remove unused code (#6864) 2020-08-05 13:59:46 +02:00
getter_test.go Fix an edge case when loading replay start state by slot (#7313) 2020-09-23 21:39:16 +00:00
getter.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
log.go Feature flag to gate prune state upon start up (#5011) 2020-03-05 06:24:59 +00:00
metrics.go Cleanup stategen pkg (#7127) 2020-08-27 22:29:59 +00:00
migrate_test.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
migrate.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
replay_test.go Fix ineffectual assignments (#7403) 2020-10-01 18:53:36 +00:00
replay.go Context Cancelation Handling for Hot States (#7596) 2020-10-21 17:06:48 +00:00
service_test.go Improved cold state checkpoints: migrate database index and usage (#6461) 2020-07-18 18:05:04 +00:00
service.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
setter_test.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00
setter.go Save state to DB during long non-finality (#7597) 2020-10-23 00:35:30 +00:00