Repository navigation
[release-7.3] Fix an old exclude failed bug - #13662
Conversation
b055f6d to
047bba1
Compare
Result of foundationdb-pr-macos on macOS 14.x
|
Result of foundationdb-pr-clang-73 on Linux CentOS 7
|
|
MoveKeys.actor.g.cpp.o -c /codebuild/output/src3439205401/src/github.com/apple/foundationdb/build_output/fdbserver/MoveKeys.actor.g.cpp |
Result of foundationdb-pr-clang on Linux RHEL 9
|
Result of foundationdb-pr-73 on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
Result of foundationdb-pr on Linux RHEL 9
|
@saintstack I already fixed this, it triggered a new CI but I think the new results are not posted yet. |
Result of foundationdb-pr-clang-73 on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux RHEL 9
|
Result of foundationdb-pr-macos-m1 on macOS 14.x
|
Result of foundationdb-pr on Linux RHEL 9
|
Result of foundationdb-pr-73 on Linux CentOS 7
|
Result of foundationdb-pr-macos-m1 on macOS 14.x
|
Result of foundationdb-pr-macos on macOS 14.x
|
Failures: Don't think these are related to this PR. Will re-run this phase. |
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
Backport of apple#13645 to release-7.3. In removeKeysFromFailedServer, the writes that unassign a dropped shard from the dest servers (serverKeysFalse) and the writes that reassign it to the new team as an empty range were pushed into a single actors vector and awaited together. krmSetRangeCoalescing performs a read-modify-write on the serverKeys map, so when a server appears in both the dest set and the new team, running the two batches concurrently lets the coalescing reads observe stale state and produce an incorrect serverKeys assignment. Await the unassign batch first, then run the empty-range assignment in a separate batch, ensuring the serverKey map assignment is correct.
047bba1 to
0a16f6a
Compare
Result of foundationdb-pr-clang-73 on Linux CentOS 7
|
Result of foundationdb-pr-clang on Linux RHEL 9
|
Result of foundationdb-pr-macos-m1 on macOS 14.x
|
Result of foundationdb-pr-73 on Linux CentOS 7
|
Result of foundationdb-pr on Linux RHEL 9
|
Result of foundationdb-pr-macos-m1 on macOS 14.x
|
Result of foundationdb-pr-macos on macOS 14.x
|
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
summary / time infofor f in fdb-kubernetes-/logs/.log); do check all fail typesfail_test=false Check for test failures where one or more tests have failed for a test suite.if grep -q -- "--- FAIL:" fdb-kubernetes-/logs/.log ; then Check for all tests that have not finished e.g. because they timed out or they paniced during the execution.for f in $(grep -L -- "SUCCESS! --" fdb-kubernetes-/logs/.log); do
|
Very interesting: Somehow this code is making simulation non-deterministic? Or is this an existing issue? |
Running this test 10K times: 20260708-222803-praza-exc-fail-bug-7.3-backport-047bba1366fb compressed=True data_size=34977396 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260708-222803 timeout=5400 username=praza-exc-fail-bug-7.3-backport-047bba1366fb23c1fc31c07e47cc751564f6515b Curious if I see any UnseedMismatch failures. |
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
summary / time infofor f in fdb-kubernetes-/logs/.log); do check all fail typesfail_test=false Check for test failures where one or more tests have failed for a test suite.if grep -q -- "--- FAIL:" fdb-kubernetes-/logs/.log ; then Check for all tests that have not finished e.g. because they timed out or they paniced during the execution.for f in $(grep -L -- "SUCCESS! --" fdb-kubernetes-/logs/.log); do
|
I do see one UnseedMismatch in this 10K run: I am going to run the same 10K test again without the changs in this PR. If that also shows the UnseedMismatch, it's highly likely that the testing non determinism exists as is in 7.3. Update: the joshua job with the revert is 20260709-000115-praza-exc-fail-bug-7.3-backport-det-test-c92 compressed=True data_size=34975912 fail_fast=100 max_runs=10000 priority=100 sanity=False submitted=20260709-000115 timeout=5400 username=praza-exc-fail-bug-7.3-backport-det-test-c929a5f995043ed567d37d01bacb5072d52b27cf |
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
Result of foundationdb-pr on Linux RHEL 9
|
Result of foundationdb-pr-cluster-tests-73 on Linux CentOS 7
|
Without this PR changes, did a larger run for the specific test. See results below. But basically it's showing that UnseedMismatch is present even without this PR. So I am concluding that this PR did not introduce it, looking at the code again also doesn't point to anything. Going to merge this PR now. |
In removeKeysFromFailedServer, the writes that unassign a dropped shard from the dest servers (serverKeysFalse) and the writes that reassign it to the new team as an empty range were pushed into a single actors vector and awaited together. krmSetRangeCoalescing performs a read-modify-write on the serverKeys map, so when a server appears in both the dest set and the new team, running the two batches concurrently lets the coalescing reads observe stale state and produce an incorrect serverKeys assignment. Await the unassign batch first, then run the empty-range assignment in a separate batch, ensuring the serverKey map assignment is correct. Ported from upstream/main PR #13645 (8bd7e44). Conflicts resolved in: fdbserver/MoveKeys.actor.cpp (release-7.4 still uses the wait()/actor-compiler style rather than main's co_await; shardId needed to become state since it now crosses the new wait() boundary). Same resolution as the release-7.3 backport, PR #13662. Co-authored-by: Michael Stack <saintstack@users.noreply.github.com> Co-authored-by: Pierce Lopez <pierce.lopez@apple.com>
Backport of #13645 to release-7.3.
In removeKeysFromFailedServer, the writes that unassign a dropped shard from the dest servers (serverKeysFalse) and the writes that reassign it to the new team as an empty range were pushed into a single actors vector and awaited together. krmSetRangeCoalescing performs a read-modify-write on the serverKeys map, so when a server appears in both the dest set and the new team, running the two batches concurrently lets the coalescing reads observe stale state and produce an incorrect serverKeys assignment.
Await the unassign batch first, then run the empty-range assignment in a separate batch, ensuring the serverKey map assignment is correct.
100K results below.