-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
perf: single-pass snapshot reading #1838
Open
segfault-magnet
wants to merge
123
commits into
master
Choose a base branch
from
feature/genesis_optimize_deriving
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 118 commits
Commits
Show all changes
123 commits
Select commit
Hold shift + click to select a range
ed3ab94
snapshot fragments for json work
segfault-magnet 42e0763
parquet fragment support, cleanup pending
segfault-magnet 58b04be
add tests for fragments
segfault-magnet f440bb9
comment out denies
segfault-magnet 3fb1586
Merge branch 'master' into feature/parallel_snapshot_writing
segfault-magnet 4936ed9
snapshot generation uses concurrent workers
segfault-magnet 3a0b898
task_manager used for import/export of snapshot
segfault-magnet 316b1c9
cleanup imports
segfault-magnet 35449e6
use rayon in genesis importer
segfault-magnet 633dc22
move files around
segfault-magnet b0fdfdc
enable deny lints, fix errors in chain-config
segfault-magnet 1f0b3c3
wip, investigating features
segfault-magnet 1804a7d
feature gate imports, fix unused deps
segfault-magnet 1209564
ci checks
segfault-magnet e01d204
remove unused result
segfault-magnet 892849f
use rayon for exporter
segfault-magnet c8c28f7
remove uuid dep
segfault-magnet 90785f4
dry up fragments tests
segfault-magnet 58a4e25
deduplicate tests
segfault-magnet cb27956
inline path
segfault-magnet 4171e87
dedupe writer tests
segfault-magnet 9d09510
restructure into import/export format
segfault-magnet d84bd72
format and cargo sort
segfault-magnet ebe836b
update change log
segfault-magnet 6060bad
Merge branch 'master' into feature/parallel_snapshot_writing
segfault-magnet 47e5432
entries filter
segfault-magnet 3c1ee01
optimize
segfault-magnet b9c3906
shorten bounds
segfault-magnet 992bcc0
Merge branch 'master' into feature/parallel_snapshot_writing
segfault-magnet ec85160
can cancel/resume regenesis, pending progress info and e2e tests
segfault-magnet 1d046dc
wip
segfault-magnet c9301c6
Merge branch 'master' into feature/regenesis_graceful_shutdown
segfault-magnet 6a70cca
Merge remote-tracking branch 'origin/master' into feature/regenesis_g…
segfault-magnet bebc214
progress with cli/logs behavior
segfault-magnet 4468ab1
make reader tolerate missing tables
segfault-magnet 5c8654e
reenable denies
segfault-magnet 8aea56d
remove index from group.
segfault-magnet a2c72d5
use state watcher instead of spawning a tokio task
segfault-magnet d21628c
cleanup
segfault-magnet 00c3af9
improve rendering
segfault-magnet 1d39fa0
grammar
segfault-magnet 92b89d0
revert debugging stuff
segfault-magnet aacb2b3
update change log
segfault-magnet 35746c7
fix state watcher default only being available with test-helpers
segfault-magnet 8f0e375
pub use Groups
segfault-magnet 2da160b
reformat
segfault-magnet 5100fd2
add is empty to groups
segfault-magnet 590c015
wip
segfault-magnet 4b2f87f
allow warnings
segfault-magnet 1b5b0aa
wip
segfault-magnet 541ec4f
refactor since enumerations implement n-th method of Iterator
segfault-magnet e4e0f87
Merge remote-tracking branch 'origin/feature/regenesis_graceful_shutd…
segfault-magnet 921d677
Merge branch 'master' into feature/regenesis_graceful_shutdown
xgreenx c06ac4c
Update CHANGELOG.md
segfault-magnet b368f97
wip
segfault-magnet d0d10c7
use group_num instead of index in order for the final report to be
segfault-magnet db58d61
Merge remote-tracking branch 'origin/feature/regenesis_graceful_shutd…
segfault-magnet 5541a62
wip
segfault-magnet 3bde4fc
move indicatiff down the cargo toml
segfault-magnet 278cb99
PR comments
segfault-magnet f36b80e
add MultiCancellationToken to handle both state watcher and tokio cancel
segfault-magnet bf751cb
Merge remote-tracking branch 'origin/master' into feature/genesis_opt…
segfault-magnet 4abad0f
Merge remote-tracking branch 'origin/master' into feature/snapshot_ge…
segfault-magnet 8ea8092
propagate shutdown signal to the snapshot exporter
segfault-magnet e0fdb53
add logs to signal
segfault-magnet 605e8c1
progress update of snapshot exporting
segfault-magnet 39af4ff
Merge remote-tracking branch 'origin/master' into feature/snapshot_ge…
segfault-magnet aeb4193
uncomment denies
segfault-magnet 9e8d6a6
remove unused imports
segfault-magnet ac415cf
remove set_max since rocksdb never gives out size hints for the
segfault-magnet 3f60047
update changelog
segfault-magnet 5648ee5
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet 1ece5d8
support one of the db's reverting and being able to
segfault-magnet 982911b
rename trait method
segfault-magnet a374a7a
bring back denies
segfault-magnet 62448fd
use COW instead of cloning data
segfault-magnet 8040fdf
Merge remote-tracking branch 'origin/master' into feature/snapshot_ge…
segfault-magnet 87cd001
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet 22b7ac2
rename on_chain
segfault-magnet 21055ce
Merge remote-tracking branch 'origin/master' into feature/snapshot_ge…
segfault-magnet f97ad56
fix merge
segfault-magnet 01fd369
Merge branch 'master' into feature/snapshot_generation_graceful_shutdown
xgreenx 0d3fdc0
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet b658a72
bump time, CI slow
segfault-magnet 307fbca
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet a9dac14
merge import handlers
segfault-magnet 7b522a9
remove unused imports
segfault-magnet 97412e0
uncomment denies
segfault-magnet f57c868
changelog
segfault-magnet 896b747
Merge branch 'master' into feature/snapshot_generation_graceful_shutdown
segfault-magnet 91432b2
move change log
segfault-magnet 62bbe70
Update crates/fuel-core/src/service/genesis/progress.rs
segfault-magnet 16d951a
Merge branch 'feature/snapshot_generation_graceful_shutdown' of githu…
segfault-magnet 56aa555
typo
segfault-magnet 7ebbe39
add rustdocs
segfault-magnet 0999c28
suggestions
segfault-magnet 21ff200
Update crates/fuel-core/src/p2p_test_helpers.rs
segfault-magnet 7425da3
Merge branch 'feature/snapshot_generation_graceful_shutdown' of githu…
segfault-magnet 9f99828
suggestions
segfault-magnet c1a9ee7
remove tokio rayon, implement suggestions
segfault-magnet c1ff3d0
fix unit tests
segfault-magnet 1272062
inline when small number of groups
segfault-magnet ad96955
fix unit tests
segfault-magnet d7bd144
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet dbbf132
remove MultiCancellationToken in favor of a less general solution
segfault-magnet 99ad6f8
Merge remote-tracking branch 'origin/feature/snapshot_generation_grac…
segfault-magnet d626d44
Merge remote-tracking branch 'origin/master' into feature/genesis_opt…
segfault-magnet 270041a
revert files that should not have been changed
segfault-magnet f628c88
fix build
segfault-magnet 06ec673
add check for unique table names
segfault-magnet 5918150
readability
segfault-magnet 13110bc
transactions not inserted in master
segfault-magnet a16b316
unneccessary changes
segfault-magnet b453447
nits
segfault-magnet 3223270
add changelog
segfault-magnet 3b0e7d4
Merge remote-tracking branch 'origin/master' into feature/genesis_opt…
segfault-magnet 59879ea
FuelBlockIdsToHeights is never exported as a table but rather derived
segfault-magnet ec53cbf
clippy
segfault-magnet 5787c06
Merge branch 'master' into feature/genesis_optimize_deriving
segfault-magnet 47b241d
rename
segfault-magnet 68d6371
Merge branch 'master' into feature/genesis_optimize_deriving
segfault-magnet 6677b76
Merge branch 'master' into feature/genesis_optimize_deriving
Dentosal e7d5755
Merge branch 'master' into feature/genesis_optimize_deriving
xgreenx File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are we going to get any kind of compiler error/test failure if we add new tables in the future, or are we just going to need to remember to add them here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not all tables get a snapshot file due to two reasons:
So if a table is to be migrated the developer should:
ImportTable
or changing the impl of an existing one in the case of derived tables).