Skip to content

[2.8] Improve timeout check for FT.AGGREGATE in cluster mode - [MOD-12434]#7393

Merged
redisearch-backport-pull-request[bot] merged 1 commit into2.8from
backport-7359-to-2.8
Nov 17, 2025
Merged

[2.8] Improve timeout check for FT.AGGREGATE in cluster mode - [MOD-12434]#7393
redisearch-backport-pull-request[bot] merged 1 commit into2.8from
backport-7359-to-2.8

Conversation

@redisearch-backport-pull-request
Copy link
Copy Markdown
Contributor

@redisearch-backport-pull-request redisearch-backport-pull-request bot commented Nov 17, 2025

Description

Backport of #7359 to 2.8.


Note

Adjust shard reply handling to accept results with minimal lengths, add RESP2/RESP3-specific empty-reply detection, and downgrade empty-reply logging to verbose.

  • Coordinator aggregate reply handling (coord/src/dist_aggregate.c)
    • RESP3: Push replies when map["results"] is an array regardless of length (removed >0 check).
    • RESP2: Accept results arrays with MRReply_Length(results) >= 1 (was >1).
    • Empty-reply detection: Implement protocol-specific checks in getNextReply (RESP3: results length == 0; RESP2: rows length == 1), discard such replies, and log at verbose instead of warning.

Written by Cursor Bugbot for commit 071f3f1. This will update automatically on new commits. Configure here.

…7359)

* allow empty replies to be pushed to the query channel

* fix empty reply check

* actually fix empty reply check

* address review comment

(cherry picked from commit 78329f6)
@codecov
Copy link
Copy Markdown

codecov bot commented Nov 17, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.45%. Comparing base (b503484) to head (071f3f1).
⚠️ Report is 1 commits behind head on 2.8.

Additional details and impacted files
@@            Coverage Diff             @@
##              2.8    #7393      +/-   ##
==========================================
- Coverage   87.48%   87.45%   -0.03%     
==========================================
  Files         203      203              
  Lines       34782    34784       +2     
==========================================
- Hits        30428    30420       -8     
- Misses       4354     4364      +10     
Flag Coverage Δ
flow 81.82% <100.00%> (-0.24%) ⬇️
unit 42.47% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@redisearch-backport-pull-request redisearch-backport-pull-request bot added this pull request to the merge queue Nov 17, 2025
Merged via the queue into 2.8 with commit 0f18620 Nov 17, 2025
14 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-7359-to-2.8 branch November 17, 2025 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant