This repository was archived by the owner on Jan 22, 2025. It is now read-only.
Don't share same snapshot dir for secondary access#10384
Merged
solana-grimes merged 1 commit intosolana-labs:masterfrom Jun 3, 2020
Merged
Don't share same snapshot dir for secondary access#10384solana-grimes merged 1 commit intosolana-labs:masterfrom
solana-grimes merged 1 commit intosolana-labs:masterfrom
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10384 +/- ##
=======================================
Coverage 81.4% 81.4%
=======================================
Files 290 290
Lines 67610 67610
=======================================
+ Hits 55081 55083 +2
+ Misses 12529 12527 -2 |
mergify Bot
pushed a commit
that referenced
this pull request
Jun 3, 2020
automerge (cherry picked from commit b515cc3) # Conflicts: # ledger-tool/src/main.rs
mergify Bot
pushed a commit
that referenced
this pull request
Jun 3, 2020
automerge (cherry picked from commit b515cc3)
solana-grimes
pushed a commit
that referenced
this pull request
Jun 3, 2020
solana-grimes
pushed a commit
that referenced
this pull request
Jun 3, 2020
Contributor
Author
For this, I'm suspecting this occurs when the validator is just catching-up, so this shouldn't be so bad.... |
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Problem
When validator is creating a new snapshot, secondary
ledger-tooluse may cause the snapshot creation process to crash becuase of missing file, which is removed by the secondary:Usually, new snapshot refers to the incorrectly shared directory via a symlink like this:
This problem is visible when doing like this:
Note that, there is still another intermittent problem which is found above one liner..
Summary of Changes
Don't share same directory
snapshot.follow up of #10209
CC: @mvines