Repository navigation
Observe merged-shard relocations as they arrive in the team tracker test - #14743
Draft
tclinkenbeard-oai wants to merge 1 commit into
Draft
tclinkenbeard-oai wants to merge 1 commit into
tclinkenbeard-oai wants to merge 1 commit into
Conversation
Contributor
Result of foundationdb-pr-macos on macOS
|
Contributor
Result of foundationdb-pr-clang-ide on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-macos-m1 on macOS
|
Contributor
Result of foundationdb-pr-clang-arm on Linux RHEL 9
|
Contributor
Result of foundationdb-pr on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-clang on Linux RHEL 9
|
Contributor
Result of foundationdb-pr-cluster-tests on Linux RHEL 9
|
This branch has not been deployed
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
In
RetriesMergedShardForUndesiredServer, two team trackers poll every 50 ms and can each request a relocation for the same merged shard. The test waits 60 ms and expects to find exactly two requests. Native runs have found the queue empty at the first pop or still populated after the second. The test also hit the empty-queue assertion after marking the server failed.Reuse the test’s stream observer after the merge and after the pipeline reopens. Wait up to five seconds for four requests, check their ranges and priorities, and require at least one polling interval between each arrival and the one two places earlier. After the brief pipeline transitions, also check that the first periodic retry arrives at least one interval after reopening.
When the server is marked failed, keep the unhealthy queue busy until both failed-priority requests for the merged range arrive, with a single five-second timeout. Check for extra output before draining the queue. Draining triggers a separate pair of requests that could mask a missed transition.
The focused tracker test and all 73 tests in
fdbserver_datadistributor_testpassed with seed 1, both natively and in simulation. The focused native test passed ten additional times with the same seed. In a directed simulation, both trackers sent their requests 130 ms after the server was marked failed, and the test accepted them before draining the queue. Omitting one request triggered the timeout with the queue still busy.