Repository navigation
perf(server): reuse verified linked-environment routes #26551
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
Closed
Adamulek123
wants to merge
13
commits into
pingdotgg:main
from
Adamulek123:perf/linked-environment-audit
+184
−2
Closed
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
5d6dda1
perf(server): remember verified linked-environment routes
Adamulek123 f13294e
perf(server): retain route preference only for fallbacks
Adamulek123 a432169
fix(server): start route preference after peer verification
Adamulek123 f1aab42
perf(server): reuse verified fallback routes when listing linked envi…
Adamulek123 9f7be10
perf(server): discard failed route hints after another address recovers
Adamulek123 7c564d4
perf(server): overlap slow status probes during route recovery
Adamulek123 e4ea812
fix(server): ignore stale status hints after relinking
Adamulek123 1550e2e
test(server): preserve peer names through route recovery
Adamulek123 73b6281
Merge remote-tracking branch 'github/main' into perf/linked-environme…
maria-rcks 82ee1c3
fix(server): reconcile fallback routing with concurrent status probes
Adamulek123 a792d2b
Merge remote-tracking branch 'origin/main' into perf/linked-environme…
Adamulek123 b7d7c40
test(server): keep route expiry fixture independent of descriptor ret…
Adamulek123 efcf0ce
Merge commit 'de26b6db3c1044af1fb622baa32748bd2701d63d' into perf/lin…
Adamulek123 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
Some comments aren't visible on the classic Files Changed page.
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
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.
Keep an old resolution from replacing a new link’s preference.
Suppose a resolution reads secret
S1and waits for a descriptor. Relinking installsS2and clears the map. A newS2resolution then records a working fallback. When the old resolution finishes, Line 693 can delete that preference, or Line 704 can replace it with anS1preference. The next call rejects theS1preference and waits for a silent primary before trying the fallback. Check the captured link generation before deleting or writing the entry. Extend the relinking race test to let the new link record a preference before the old resolution finishes.Based on learnings, a deferred write keyed by a reusable ID should check a secondary identity marker captured before the write.
Also applies to: 704-704
Source: Learnings