Skip to content

test(rdma): preserve multi results after write failure - #647

Draft
ketor wants to merge 2 commits into
dingodb:mainfrom
ketor:lr/cachefrommulti-postwrite-preserve
Draft

ketor wants to merge 2 commits into
dingodb:mainfrom
ketor:lr/cachefrommulti-postwrite-preserve

Conversation

@ketor

@ketor ketor commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Scope

Only test/transport/rdma_lease_client_test.cc is changed. Add an ordered two-item CacheFromMulti case: item 0 succeeds, item 1 completes its actual PUT before the completion fault is surfaced. Both written values are checked. The first result must remain kOk, the second is kIOError, and neither PUT is replayed. No product/default/retry-contract change.

The existing single-item post-write failure case is retained as the neighboring control. The optional DFKV_TEST_RDMA_DEV test selector applies at fixture setup to the server, availability probe and both clients; an absent selector preserves the previous default discovery behavior. This is not backend commit-failure/rollback or a physical HCA failure-storm claim.

Verified in this draft

  • Independent source review: GO_SOURCE_ONLY.
  • Exact candidate head: e9b5628bf38148e9f47d2256aad9d7aeb24f4d21; parent=a15a0b386b915ed69f70618ad14f9447dcf505ed.
  • Native ib6s200p2 focused run and old single-item control: both actual RUN/OK and non-skip XML, native rc=0, observed data-plane devices only ib6s200p2, preserving {kOk,kIOError}, both stored values, exactly two PUTs and zero replay.

Remaining

Public CI and maintained full are required. This draft does not claim TSan, whole-product, production, or M0–M6 completion.

- Preserve ordered CacheFromMulti results after a post-write completion fault.
- Prove both committed writes and no replay.
- Apply the optional test-scoped rail uniformly at fixture setup for both endpoints and cases.
@ketor
ketor force-pushed the lr/cachefrommulti-postwrite-preserve branch from e9b5628 to c4a149e Compare November 30, 2026 12:50
- Require exactly one actual PUT for scalar and scatter/gather post-write failure cases.
- Preserve the two-item ordered-result and two-write assertions.
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