-
Notifications
You must be signed in to change notification settings - Fork 251
Eliminate get_committed_snapshots from join path. #7832
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
Draft
cjen1-msft
wants to merge
18
commits into
microsoft:main
Choose a base branch
from
cjen1-msft:join-with-fetch
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
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.
Draft
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
9a34321
Use fetch without copying snapshots by default.
cjen1-msft b6eea6a
fix reconfig suite
cjen1-msft 54dca73
snags
cjen1-msft 8c7db16
Merge remote-tracking branch 'upstream/main' into join-with-fetch
cjen1-msft 8d9878c
fixup merge
cjen1-msft 0af8b26
fmt
cjen1-msft 438599f
fix test_add_node cond
cjen1-msft a3694ca
ledger_redirect_gap requires up-to-date snapshot => force generation.
cjen1-msft 8881571
Copy snapshots to fix chunk_redirect_gap
cjen1-msft 5d229ee
Fix late_mounted_ledger_check issue.
cjen1-msft db7dbcd
Merge branch 'main' into join-with-fetch
cjen1-msft 0abe788
remove the get_committed_snapshots call
cjen1-msft 14b6484
Change default for from_snapshot
cjen1-msft 34bd21b
fixup read_only_snapshots_dir
cjen1-msft 3505271
fmt
cjen1-msft 55da796
snags
cjen1-msft 339eb8e
Merge branch 'main' into join-with-fetch
cjen1-msft 8cb5884
Update tests/infra/basicperf.py
cjen1-msft 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 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
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
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
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
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
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
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
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
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
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.
I am confused about why the primary does not express an opinion here. Do we not have backup download enabled?
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.
This is the 'we need the primary to have an opinion over what snapshot it likes that is more precise than startup_seqno.
The reason being that if startup_seqno is 0, as it is here, then we replicate the whole ledger via Raft.
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.
This is #7844, right? I suggest we mention that inline in the comment here ("Tmp" is just a way to avoid our "TODO" check, the way we actually prevent this shim living forever is "link to the issue/PR that fixes it), and probably aim to merge that before this, so this shim never hits main.
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.
@eddyashton Yep I'm going to delay merging this for a little bit until we merge #7844 and then this can be clean.