Repository navigation
[None][fix] Retain Python KV source ownership through backend quiescence - #17981
Draft
chienchunhung wants to merge 5 commits into
Draft
chienchunhung wants to merge 5 commits into
chienchunhung wants to merge 5 commits into
Conversation
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-3-sender-liveness
branch
from
August 19, 2026 20:23
0ef8f9b to
31ebf0a
Compare
This was referenced Aug 19, 2026
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-3-sender-liveness
branch
from
August 19, 2026 23:16
31ebf0a to
9c3b2db
Compare
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
Signed-off-by: Chien-Chun Hung <[email protected]>
chienchunhung
force-pushed
the
codex/disagg-kv-ownership-p1-3-sender-liveness
branch
from
August 20, 2026 22:35
9c3b2db to
b23b56f
Compare
This branch has not been deployed
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.
Stack position
Phase1-PR3 of 5. Depends on #17979 (Phase1-PR2). This layer remains dormant.
The stack is linear on current
main@586d84cdc; because fork heads cannot be upstream PR bases, each PR targetsmain. Review onlyd375be8f2...9c3b2db43.Problem and change
PR1–PR2 protect GEN destination publication and correlate receive evidence, but CTX source memory can still be retired from aggregate logical state rather than exact backend liveness.
This PR adds dormant CTX-side physical ownership for Python KV source operations:
REQUEST_DATAsubmission;TxSessionand transceiver state until every owned source operation drains.Timeout/
IN_DOUBTcontainment, executor retirement, and transactional shutdown remain Phase1-PR4. Activation and qualification remain Phase1-PR5.Validation
Focused CPU regressions cover sibling writers, cancellation/admission ordering, unsubmitted failure settlement, duplicate request data, backend-success ordering, submit ambiguity, failed-wait retention (including bounce slots), close retention, and default-off compatibility.
Repeated TRT-LLM code-owner self-review is clean.
ruff, formatting, Python compilation, andgit diff --checkpass. Runtime pytest is unavailable locally; CI was not triggered for stack construction.Isolated change size
Deferred
Timeout and ambiguous evidence, executor/allocator retirement, shutdown containment, and all production activation remain in Phase1-PR4/PR5. Retry/replay, distributed identity, broader Python topology, leases, reroute, and C++ remain later phases.