Victor Farazdagi
|
c26a492225
|
Init sync optimizations (#5284)
* fix naming slot -> epoch
* better handling of long periods w/o finality
* fixes issue with pointer going too far ahead
|
2020-04-02 06:54:05 +03:00 |
|
Victor Farazdagi
|
7ebb3c1784
|
init-sync revamp (#5148)
* fix issue with rate limiting
* force fetcher to wait for minimum peers
* adds backoff interval
* cap the max blocks requested from a peer
* queue rewritten
* adds docs to fsm
* fix visibility
* updates fsm
* fsm tests added
* optimizes queue resource allocations
* removes debug log
* replace auto-fixed comment
* fixes typo
* better handling of evil peers
* fixes test
* minor fixes to fsm
* better interface for findEpochState func
|
2020-03-27 09:54:57 +03:00 |
|
terence tsao
|
dc3fb018fe
|
Fix new state mgmt sync stuck in a loop (#5142)
|
2020-03-19 18:46:35 -07:00 |
|
Victor Farazdagi
|
3ec2a0f9e0
|
Refactoring of initial sync (#5096)
* implements blocks queue
* refactors updateCounter method
* fixes deadlock on stop w/o start
* refactors updateSchedulerState
* more tests on schduler
* parseFetchResponse tests
* wraps up tests for blocks queue
* eod commit
* fixes data race in round robin
* revamps fetcher
* fixes race conditions + livelocks + deadlocks
* less verbose output
* fixes data race, by isolating critical sections
* minor refactoring: resolves blocking calls
* implements init-sync queue
* udpate fetch/send buffers in blocks fetcher
* blockState enum-like type alias
* refactors common code into releaseTicket()
* better gc
* linter
* minor fix to round robin
* moves original round robin into its own package
* adds enableInitSyncQueue flag
* fixes issue with init-sync service selection
* Update beacon-chain/sync/initial-sync/round_robin.go
Co-Authored-By: terence tsao <terence@prysmaticlabs.com>
* initsyncv1 -> initsyncold
* adds span
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
|
2020-03-17 12:27:18 -05:00 |
|
Victor Farazdagi
|
f18bada8c9
|
Init sync blocks queue (#5064)
* fixes data race, by isolating critical sections
* minor refactoring: resolves blocking calls
* implements init-sync queue
* udpate fetch/send buffers in blocks fetcher
* blockState enum-like type alias
* refactors common code into releaseTicket()
* better gc
* linter
* Update beacon-chain/sync/initial-sync/blocks_queue.go
Co-Authored-By: shayzluf <thezluf@gmail.com>
* Update beacon-chain/sync/initial-sync/blocks_queue_test.go
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Co-authored-by: terence tsao <terence@prysmaticlabs.com>
Co-authored-by: shayzluf <thezluf@gmail.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
|
2020-03-16 18:21:36 +03:00 |
|
terence tsao
|
3660732f44
|
Resume new state mgmt (#5102)
|
2020-03-15 09:47:49 -07:00 |
|
Victor Farazdagi
|
1137403e4b
|
Init sync pre queue (#5098)
* fixes data race, by isolating critical sections
* minor refactoring: resolves blocking calls
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
|
2020-03-14 13:21:07 -05:00 |
|
terence tsao
|
43722e45f4
|
Save cold state (#5077)
|
2020-03-12 05:58:06 -07:00 |
|
Victor Farazdagi
|
7b30845c01
|
fixes races in blocks fetcher (#5068)
|
2020-03-11 14:21:41 +03:00 |
|
prylabs-bulldozer[bot]
|
e635e5b205
|
Feature flag to gate prune state upon start up (#5011)
* Added feature flag to gate prune state upon start up
|
2020-03-05 06:24:59 +00:00 |
|
Victor Farazdagi
|
239efe7410
|
init sync: adds blocks fetcher service (#4978)
* init sync: adds blocks fetcher service
* init-sync: rework ctx handling
* init-sync: fix long lines
* removes redundant method
* adds buffer to requests channel
* adds jaeger spans
* fixes overly long comment line
|
2020-03-04 20:19:09 +03:00 |
|