Repository navigation
[MOD-18502] Restore background reply serialization for coordinator SEARCH with FAIL and RETURN - #11534
Merged
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
GuyAv46
approved these changes
Sep 23, 2026
| return; | ||
| } | ||
| if (MRCtx_GetNumReplied(mrctx) == 0) { | ||
| RedisModule_ReplyWithError(ctx, "Could not send query to cluster"); |
Collaborator
There was a problem hiding this comment.
Don't we have a definition for that message?
1 of 4 tasks
Contributor
|
🤖 Auto-backport summary
(PR #11534, Workflow run · Retry unfinished targets with |
This was referenced Sep 23, 2026
This was referenced Sep 23, 2026
This was referenced Nov 25, 2026
lerman25
added a commit
that referenced
this pull request
Nov 25, 2026
…main thread Port the FAIL path from OSS 8.10 pull request #11534 to master.
lerman25
added a commit
that referenced
this pull request
Nov 25, 2026
…ARCH with FAIL Use a reducer-local reply context and follow the same lifetime in the preparation error path. Serialize context setup with cancellation using the request mutex. Cover cancellation during and after reply serialization. Port the FAIL path from OSS 8.10 pull request #11534.
lerman25
added a commit
that referenced
this pull request
Nov 25, 2026
…ARCH with FAIL Create the reply context on the worker. Synchronize coordinator SEARCH cancellation with context creation in the reducer. Port the FAIL path from OSS 8.10 pull request #11534.
lerman25
added a commit
that referenced
this pull request
Nov 29, 2026
…ARCH with FAIL Use the same worker reply context and direct error replies as OSS 8.10. Port the FAIL path from OSS 8.10 pull request #11534.
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.




Describe the changes in the pull request
Zero-send fanout retains its existing direct unblock and main-thread error reply. No Redis API, reply format, standalone/shard query path, or other query type is changed. Deterministic RESP2/RESP3 tests cover timeout/disconnect during and after serialization, successful flushing with TIMEOUT 0 and a non-expired timeout, and preparation/shard/zero-send errors. Timeout races use CLIENT UNBLOCK TIMEOUT.
Which additional issues this PR fixes
Contributes to MOD-18502; remaining query paths are separate work.
Main objects this PR modified
src/module.candsrc/module.h.tests/pytests/test_coord_timeout_cleanup.py.Mark if applicable
Release Notes