Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/trie sync fixes #2966

Merged
merged 45 commits into from
Apr 9, 2021
Merged

Feat/trie sync fixes #2966

merged 45 commits into from
Apr 9, 2021

Conversation

iulianpascalau
Copy link
Contributor

@iulianpascalau iulianpascalau commented Apr 7, 2021

Sync trie fixes so the node will not raise an Out Of Memory exception during bootstrap
Added a new variant of trie syncer which should perform better

iulianpascalau and others added 30 commits March 4, 2021 21:31
- added the possibility to switch from the 2 implementations from the config lines
- made the trie sync tests use real life storers
@iulianpascalau iulianpascalau marked this pull request as draft April 7, 2021 13:37
@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #2966 (346cbe0) into master (8ad74e5) will increase coverage by 0.07%.
The diff coverage is 85.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2966      +/-   ##
==========================================
+ Coverage   74.89%   74.97%   +0.07%     
==========================================
  Files         613      615       +2     
  Lines       58677    58857     +180     
==========================================
+ Hits        43949    44130     +181     
+ Misses      10797    10789       -8     
- Partials     3931     3938       +7     
Impacted Files Coverage Δ
data/trie/node.go 84.00% <ø> (ø)
dataRetriever/interface.go 0.00% <ø> (ø)
epochStart/bootstrap/baseStorageHandler.go 54.09% <ø> (+4.09%) ⬆️
epochStart/bootstrap/metaStorageHandler.go 67.47% <ø> (+0.81%) ⬆️
epochStart/bootstrap/shardStorageHandler.go 67.40% <ø> (+0.55%) ⬆️
storage/fifocache/fifocacheSharded.go 84.61% <0.00%> (-2.23%) ⬇️
storage/immunitycache/cache.go 95.61% <0.00%> (-0.85%) ⬇️
storage/lrucache/capacity/capacityLRUCache.go 94.01% <0.00%> (-2.48%) ⬇️
storage/lrucache/lrucache.go 90.38% <0.00%> (-1.78%) ⬇️
storage/lrucache/simpleLRUCacheAdapter.go 66.66% <0.00%> (-33.34%) ⬇️
... and 18 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8ad74e5...346cbe0. Read the comment docs.

iulianpascalau and others added 10 commits April 7, 2021 17:00
- tweaked configs
# Conflicts:
#	data/syncer/userAccountsSyncer.go
#	data/trie/branchNode.go
#	data/trie/branchNode_test.go
#	data/trie/extensionNode.go
#	data/trie/extensionNode_test.go
#	data/trie/interface.go
#	data/trie/leafNode.go
#	data/trie/sync.go
@iulianpascalau iulianpascalau marked this pull request as ready for review April 8, 2021 12:48
Copy link
Collaborator

@gabi-vuls gabi-vuls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

System test passed.

@iulianpascalau iulianpascalau merged commit 95e198a into master Apr 9, 2021
@iulianpascalau iulianpascalau deleted the feat/trie-sync-fixes branch April 9, 2021 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants