Skip to content

test(cache): add M3 recovery and performance gates - #641

Draft
ketor wants to merge 3 commits into
dingodb:mainfrom
ketor:lr/m3-runtime-gate-77ce90e
Draft

ketor wants to merge 3 commits into
dingodb:mainfrom
ketor:lr/m3-runtime-gate-77ce90e

Conversation

@ketor

@ketor ketor commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add an opt-in near-capacity clean-reopen and owned-child SIGKILL timing case, with open-ready timing separate from payload verification
  • allow uncommitted values to be absent after the no-barrier SIGKILL while requiring every returned value's key generation and payload to be readable and correct
  • preserve direct-producer intervals, add Zipf interval-union throughput and same-fresh-run LSE relocation ratios, and emit a preregistered paired PASS/FAIL/INCONCLUSIVE performance verdict
  • keep the existing explicit-sync recovery case, defaults, production APIs, and wire behavior unchanged

Validation

  • focused Release build with RDMA/io_uring disabled: PASS
  • strict acceptance controls (forced metric FAIL, INCONCLUSIVE, empty/zero/mixed-zero/reversed/nonfinite intervals, unavailable stats, true-zero relocation, and live zero-admitted denominator with zero/nonzero relocation numerators): 1 PASS; quality, existing explicit-sync recovery, and new NVMe timing case: 3 explicit opt-in SKIPs / 0 unexpected executions
  • quality requires explicit overall performance PASS; FAIL, INCONCLUSIVE, or missing required fields are non-passing
  • real-NVMe quality and near-capacity recovery: pending an authorized physical test window; not claimed by this draft

Boundaries

  • no real-power-failure or unsynchronized-durability claim
  • no performance threshold beyond the preregistered zero-tolerance paired rule; mixed or missing pairs are INCONCLUSIVE and therefore not accepted
  • test-only change; no merge-queue action requested

@ketor
ketor force-pushed the lr/m3-runtime-gate-77ce90e branch 2 times, most recently from 90d9527 to 862b3c0 Compare November 29, 2026 16:34
- Measure near-capacity clean and unsynchronized-crash reopen timing without changing the explicit-sync contract.
- Preserve direct I/O intervals, per-run relocation ratios, and preregistered paired performance verdicts.
- Require performance PASS rather than treating valid raw records as acceptance.
- Mark empty, zero-duration, invalid, nonfinite, and missing measurements unavailable or inconclusive.
- Distinguish true-zero relocation counters from unavailable engine stats with explicit coverage.
- Exercise live stats with zero admitted payload and both zero and nonzero relocation numerators.
- Emit and assert null ratios distinguished from true-zero and unavailable-stats cases.
@ketor
ketor force-pushed the lr/m3-runtime-gate-77ce90e branch from 862b3c0 to 872b646 Compare November 29, 2026 18:54
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.

1 participant