Skip to content

[release-8.0] Storage server: let a knob drop mutations delivered to a not-assigned shard at one version - #14480

Merged
saintstack merged 2 commits into
apple:release-8.0from
saintstack:backport-14419-80
Nov 10, 2026
Merged

saintstack merged 2 commits into
apple:release-8.0from
saintstack:backport-14419-80

Conversation

@saintstack

Copy link
Copy Markdown
Contributor

Backport of #14419 to release-8.0. Clean cherry-pick -x of 336ca48; no conflicts. Same 3 files, +51/-2.

A mutation delivered to a not-assigned shard asserts. The commit has already succeeded, so the storage server replays the same version after every restart and crash-loops until the mutation is dropped. This adds SS_SKIP_DELIVERED_TO_NOT_ASSIGNED_VERSION (default 0, current behaviour). When non-zero, a mutation delivered to a not-assigned shard at exactly that version is dropped instead of asserting, so an operator can recover a crash-looping storage server with a knob rather than a patched binary. The DeliveredToNotAssigned trace now carries the full hex of the key and value. See #14419 for the full description.

Testing: release-8.0 build, macOS arm64 Release. fdbserver_storageserver_test --simulation: 8 tests passed, 0 failed, including /fdbserver/storageserver/deliveredToNotAssigned. No simulation or Joshua run; CI to confirm.

… shard at one version (apple#14419)

A mutation delivered to a not-assigned shard asserts, and since the commit has
already succeeded the storage server then replays the same version after every
restart and crash-loops. Add SS_SKIP_DELIVERED_TO_NOT_ASSIGNED_VERSION so an
operator can drop mutations at exactly one version while recovering.
Default 0 keeps the current behaviour.

The DeliveredToNotAssigned trace now carries the full hex of the key and value so
a dropped mutation can be replayed by hand.

(cherry picked from commit 336ca48)
@saintstack
saintstack requested a review from spraza as a code owner November 9, 2026 19:27
@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@foundationdb-ci

This comment has been minimized.

@saintstack
saintstack enabled auto-merge (squash) November 10, 2026 01:12
@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-ide on Linux RHEL 9

  • Commit ID: b4c07bf
  • Duration 0:21:21
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos-m1 on macOS

  • Commit ID: b4c07bf
  • Duration 0:25:19
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang on Linux RHEL 9

  • Commit ID: b4c07bf
  • Duration 0:46:30
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-clang-arm on Linux RHEL 9

  • Commit ID: b4c07bf
  • Duration 0:48:09
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr on Linux RHEL 9

  • Commit ID: b4c07bf
  • Duration 0:51:16
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-macos on macOS

  • Commit ID: b4c07bf
  • Duration 1:14:08
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)

@foundationdb-ci

Copy link
Copy Markdown
Contributor

Result of foundationdb-pr-cluster-tests on Linux RHEL 9

  • Commit ID: b4c07bf
  • Duration 1:40:16
  • Result: ✅ SUCCEEDED
  • Error: N/A
  • Build Log terminal output (available for 30 days)
  • Build Workspace zip file of the working directory (available for 30 days)
  • Cluster Test Logs zip file of the test logs (available for 30 days)

@saintstack
saintstack merged commit 5009284 into apple:release-8.0 Nov 10, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants