allocator/mmaprototype: convert remove-target Fatalf to ok-return#168241
Draft
tbg wants to merge 1 commit intocockroachdb:masterfrom
Draft
allocator/mmaprototype: convert remove-target Fatalf to ok-return#168241tbg wants to merge 1 commit intocockroachdb:masterfrom
tbg wants to merge 1 commit intocockroachdb:masterfrom
Conversation
Contributor
|
Merging to
After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here |
Member
|
Detected infrastructure failure (matched: ). Automatically rerunning failed jobs. (run link) |
`makeRebalanceReplicaChanges` fatals when the remove target is not found in existing replicas. This can happen when an external change (e.g. replicate queue) removes a replica before the rebalancer's adjusted state is refreshed by the next `StoreLeaseholderMsg`. Change the function to return an `ok` bool instead of fataling. Callers skip the range when the target is missing. Part of: cockroachdb#167723 Epic: none Release note: None
2676510 to
e993dd5
Compare
Member
⚪ Sysbench [SQL, 3node, oltp_read_write]
Reproducebenchdiff binaries: mkdir -p benchdiff/e993dd5/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/e993dd5bd036cf79ab7bbc475e29167c77fecfa8/bin/pkg_sql_tests benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/3cd2804/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/3cd2804e2e5fa261ee662949dad84ac8fad5d272/bin/pkg_sql_tests benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/SQL/3node/oltp_read_write$ --old=3cd2804 --new=e993dd5 --memprofile ./pkg/sql/tests⚪ Sysbench [KV, 3node, oltp_read_only]
Reproducebenchdiff binaries: mkdir -p benchdiff/e993dd5/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/e993dd5bd036cf79ab7bbc475e29167c77fecfa8/bin/pkg_sql_tests benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/3cd2804/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/3cd2804e2e5fa261ee662949dad84ac8fad5d272/bin/pkg_sql_tests benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/KV/3node/oltp_read_only$ --old=3cd2804 --new=e993dd5 --memprofile ./pkg/sql/tests🔴 Sysbench [KV, 3node, oltp_write_only]
Reproducebenchdiff binaries: mkdir -p benchdiff/e993dd5/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/e993dd5bd036cf79ab7bbc475e29167c77fecfa8/bin/pkg_sql_tests benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/e993dd5/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
mkdir -p benchdiff/3cd2804/bin/1058449141
gcloud storage cp gs://cockroach-microbench-ci/builds/3cd2804e2e5fa261ee662949dad84ac8fad5d272/bin/pkg_sql_tests benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_tests
chmod +x benchdiff/3cd2804/bin/1058449141/cockroachdb_cockroach_pkg_sql_testsbenchdiff command: # NB: for best (most stable) results, also add a suitable `--benchtime` that
# results in ~1s to ~5s of benchmark runs. For example, if ops average ~3ms, a
# benchtime of `1000x` is appropriate.
#
# Some benchmarks (in particular BenchmarkSysbench) output additional memory
# profiles covering only the execution (excluding the setup/teardown) - those
# should be preferred for analysis since they more closely correspond to what's
# reported as B/op and alloc/op.
benchdiff --run=^BenchmarkSysbench/KV/3node/oltp_write_only$ --old=3cd2804 --new=e993dd5 --memprofile ./pkg/sql/testsArtifactsdownload: mkdir -p new
gcloud storage cp gs://cockroach-microbench-ci/artifacts/e993dd5bd036cf79ab7bbc475e29167c77fecfa8/24894355240-1/\* new/
mkdir -p old
gcloud storage cp gs://cockroach-microbench-ci/artifacts/3cd2804e2e5fa261ee662949dad84ac8fad5d272/24894355240-1/\* old/built with commit: e993dd5bd036cf79ab7bbc475e29167c77fecfa8 |
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.
makeRebalanceReplicaChangesfatals when the remove target is not foundin existing replicas. This can happen when an external change (e.g.
replicate queue) removes a replica before the rebalancer's adjusted state
is refreshed by the next
StoreLeaseholderMsg.Change the function to return an
okbool instead of fataling. Callersskip the range when the target is missing.
Part of: #167723
Epic: none
Release note: None