Repository navigation
Conversation
ketor
added a commit
to ketor/dfkv
that referenced
this pull request
Nov 29, 2026
- Preserve earlier successful inline SG results after a later posted write failure without unsafe replay. - Retain fresh AcquireResult metadata and release exactly the returned connection, verifying complete pooled-resource cleanup. - Replay PR dingodb#636 test-only coverage onto current main without changing production behavior.
ketor
force-pushed
the
lr/trn31-sg-post-failure-20261129
branch
from
November 29, 2026 15:02
7d35173 to
40d26a0
Compare
This was referenced Nov 29, 2026
ketor
added a commit
to ketor/dfkv
that referenced
this pull request
Nov 29, 2026
- Preserve earlier successful inline SG results after a later posted write failure without unsafe replay. - Retain fresh AcquireResult metadata and release exactly the returned connection, verifying complete pooled-resource cleanup. - Replay the unchanged PR dingodb#636 combined patch onto current main after the independent RamTier readiness fix.
ketor
force-pushed
the
lr/trn31-sg-post-failure-20261129
branch
from
November 29, 2026 16:19
40d26a0 to
4c7088b
Compare
- Preserve earlier successful inline SG results after a later posted write failure without unsafe replay. - Retain fresh AcquireResult metadata and release exactly the returned connection, verifying complete pooled-resource cleanup. - Replay the unchanged PR dingodb#636 combined patch onto current main after independent RamTier readiness and fused-generation changes landed outside this patch.
ketor
force-pushed
the
lr/trn31-sg-post-failure-20261129
branch
from
November 29, 2026 16:48
4c7088b to
51444f6
Compare
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.
Scope
Test-only observability for two RDMA ownership/completion boundaries, integrated onto actual current main
bbda545dbb1737ba6f1e7dad52b23c489dd80b8d.51444f6716a50284c8172ad24fbc3b8125f2157d3f406a6f3e9998fadab04393d5f119c34ca94bc6bbda545dbb1737ba6f1e7dad52b23c489dd80b8d; base tree:0ad888a7e996f5091625670e264e91b9e7a80883test/transport/rdma_loopback_test.cc: +98/−04c7088b…,40d26a0…, and earlierdb3d5143…; the published test file is byte-identical to the owned worktree. No production, fused-generation, directory-ownership or RamTier hunk is imported into this patch.TRN-31: later posted SG failure preserves earlier success
RdmaLoopback.CacheFromMultiKeepsEarlierSuccessAfterPostedFailureWithoutReplayuses two exactly-4 KiB, one-segment inline sources. The second posted completion receives the existing endpoint-completion fault. The case requires:{kOk, kIOError}, retaining item0's already-completed success;TRN-32: fresh Acquire result metadata and ownership
RdmaLoopback.FreshAcquireResultRetainsMetadataAndOwnershipreturns the complete existingAcquireResultand checks all six fields:conn,from_pool,attempted_rail,failure,status, anddevice_frame_closed. It then performs exactly oneReleaseData, observes the sole pooled connection, and performs exactly oneDropAllPooled, requiring endpoints, QPs, WR slots, and registered bytes to return to the pre-acquire baseline.No defaults, production headers/APIs, retry/lease behavior, global controls, or production semantics are changed.
Current
51444f6…verification status46286092812completed 13 success / 13, including RDMA job141418949820. Both new target cases passed in ordinary (6/8 ms) and true TSan (1011/20 ms) Soft-RoCE execution. This is the actual new-base result, not permission to erase the separate real op26 failure on raw4c7088b…; independent source-controlled diagnosis still distinguishes natural lookback, production publication/index state, and response/chunk behavior. fix(rdma): reject reused generation in fused READY #640/test(cache): synchronize RamTier loss readiness #644 evidence and later timing are not substituted for PR636's own validation./mnt/disk1/dfkv-test/pr636-acquire-result-51444f6-r1, with separate ordinary/TSan units and the same 1800-second overall/900-second native caps.Previous
4c7088b…verification status (raw red remains a separate open diagnosis)46283346024reached first terminal 12 success / 1 failure, not 13/13; no rerun was requested. Generic TSan job141410287274passed on the test(cache): synchronize RamTier loss readiness #644-fixed main, but RDMA job141410287290failed in step 11 on existingRdmaLoopback.RemovedWithinAgesIsAnsweredOverRdma:rdma_loopback_test.cc:2161observedkRemovedAgeNone(4294967295). The complete raw failed-step log is retained. The fixture explicitly sleeps 300 ms before its remove/write/query sequence but uses the 200 ms lookback, so the observation requires independent op26 fixture/product review rather than an environment-flake conclusion or a silent threshold change. Both new target cases still directly ran and passed in ordinary (4/7 ms) and TSan (1052/16 ms) Soft-RoCE execution; that does not erase the other required-job failure or test(cache): synchronize RamTier loss readiness #644's separate evidence./mnt/disk1/dfkv-test/pr636-acquire-result-4c7088b-r1anddfkv-pr636-acquire-result-4c7088b-r1-{ordinary,tsan}.service, each with the 1800-second unit cap and separate 900-second native cap.Previous
40d26a0…verification history (not evidence for the new head)git diff --check, exact replay patch, published source, ancestry and complete-history bundle checks passed.46276169500attempt 1 ended 12 success / 1 failure, not 13/13. Generic TSan job141387794202failed onlyRamTierFlushFailure.FailuresAfterRefusalsStillEndInALoss:test/cache/ram_tier_test.cc:2788observedrt.healthy() == trueinstead of false, with CTest exit 8. Both new cases did run and pass in ordinary and TSan modes in the separate successful RDMA job141387793977(6/10 ms ordinary, 1011/20 ms TSan); that does not erase the other failure. A failed-job-only rerun was requested before a diagnostic hold was clarified, then cancelled in attempt 2 at 15:32:40Z and is not used as a result. Attempt-1 diagnostics, source/body/health-transition review, the exact-base successful control, and the cancelled-attempt record are all retained; no root-cause conclusion is asserted. Soft-RoCE does not substitute for a coordinated physical-device run.