-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Add accounts hard-link files into the bank snapshot directory #29496
Merged
xiangzhu70
merged 46 commits into
solana-labs:master
from
xiangzhu70:add_accounts_to_bank_snapshot_dir
Feb 15, 2023
Merged
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
7d7b1f4
Add accounts hard-link files into the bank snapshot directory
xiangzhu70 a0fd7be
Small adjustments and fixes.
xiangzhu70 2f29ba5
Address some of the review issues
xiangzhu70 5d86bb1
Fix compilation issues
xiangzhu70 afdca29
Change the latest slot snapshot storage from VecDeque to Option
xiangzhu70 297b456
IoWithSourceAndFile and expanded comments on accounts
xiangzhu70 890ade0
last_slot_snapshot_storages in return value
xiangzhu70 86a4380
Update comments following the review input
xiangzhu70 3d3040d
rename dir_accounts_hard_links to hard_link_path
xiangzhu70 e426ea4
Add dir_full_state flag for add_bank_snapshot
xiangzhu70 5532055
Let appendvec files hardlinking work with multiple accounts paths acr…
xiangzhu70 982aa1f
Fixes for rebasing
xiangzhu70 70d56ba
fix tests which generates account_path without adding run/
xiangzhu70 a4ce69a
rebasing fixes
xiangzhu70 5ae5ebf
fix account path test failures
xiangzhu70 f5b5984
fix test test_concurrent_snapshot_packaging
xiangzhu70 29146a2
review comments. renamed the path setup function
xiangzhu70 8f64e49
Addressed most of the review comments
xiangzhu70 ba294f9
update with more review comments
xiangzhu70 f3b335f
handle error from create_accounts_run_and_snapshot_dirs
xiangzhu70 07b8bc9
fix rebasing duplicate
xiangzhu70 671c111
minor accounts_dir path cleanup
xiangzhu70 ca03fc8
minor cleanup, remove commented code
xiangzhu70 135964b
misc review comments
xiangzhu70 9d06fc1
build error fix
xiangzhu70 cef61fd
Fix test_incremental_snapshot_download_with_crossing_full_snapshot_in…
xiangzhu70 c9ed677
fix build error on MAX_BANK_SNAPSHOTS_TO_RETAIN
xiangzhu70 e3a11fc
rebase fix, update hardlink filename
xiangzhu70 3123e1b
minor comment spelling fix
xiangzhu70 822d365
rebasing fixes
xiangzhu70 9a23695
fix rebase issues; with_extension
xiangzhu70 b74a906
comments changes for review
xiangzhu70 216d3fe
misc minor review issues
xiangzhu70 6e8fa77
bank.fill_bank_with_ticks_for_tests
xiangzhu70 7e4347d
error handling on appendvec path
xiangzhu70 857398f
fix use_jit
xiangzhu70 ba92b43
minor comments refining
xiangzhu70 47524f3
Remove type AccountStorages
xiangzhu70 5546504
get_account_path_from_appendvec_path return changed to Option
xiangzhu70 8ba8652
removed appendvec_path.to_path_buf in create_accounts_run_and_snapsho…
xiangzhu70 5bf5f49
add test_get_snapshot_accounts_hardlink_dir
xiangzhu70 c7e4285
update last_snapshot_storages comment
xiangzhu70 719f3ec
update last_snapshot_storages comment
xiangzhu70 257a9e8
symlink map_err
xiangzhu70 38dda74
simplify test_get_snapshot_accounts_hardlink_dir with fake paths
xiangzhu70 5799adf
log last_snapshot_storages at the end of the loop
xiangzhu70 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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.
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.
I don't think a comment is necessary here (also fixes a typo by deleting it!)
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.
There was concern that this debug message was not related to this PR. I put this comment here to explain why it should go with this PR.