Skip to content

[8.0] MOD-8009: Allow Users To Configure Cursor Index Limitation Through Global Config#5165

Merged
kei-nan merged 1 commit into8.0from
backport-5137-to-8.0
Nov 5, 2024
Merged

[8.0] MOD-8009: Allow Users To Configure Cursor Index Limitation Through Global Config#5165
kei-nan merged 1 commit into8.0from
backport-5137-to-8.0

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

Description

Backport of #5137 to 8.0.

…obal Config (#5137)

* * move cursor limitation per index to be a configuration parameter
* solve a bug where the coordinator would stop reading from internal cursors

* * remove int return type for iterate callback functions, since their return value is ignored and has no real meaning.

* * Code Review - Round #1

* * Code Review - Round #1, missing file change

* * fix crash in testAggregate.py

* * Code Review - Round #2

* * replace comma with a period

* * if we somehow ended up with a closed channel, free the reply

* Update src/config.c

Co-authored-by: GuyAv46 <[email protected]>

* Update src/cursor.c

Co-authored-by: Omer Shadmi <[email protected]>

* - fix channel test

* - add logging for the broadcasting failure flow

* - changed broadcast failure to be verbose instead of warning

* Update tests/pytests/test_cursors.py

Co-authored-by: Omer Shadmi <[email protected]>

---------

Co-authored-by: GuyAv46 <[email protected]>
Co-authored-by: Omer Shadmi <[email protected]>
(cherry picked from commit 602fe76)
@kei-nan kei-nan enabled auto-merge November 5, 2024 15:12
@kei-nan kei-nan added this pull request to the merge queue Nov 5, 2024
@codecov
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 84.09091% with 7 lines in your changes missing coverage. Please review.

Project coverage is 86.30%. Comparing base (528fbfa) to head (4932729).
Report is 1 commits behind head on 8.0.

Files with missing lines Patch % Lines
src/coord/dist_aggregate.c 82.35% 3 Missing ⚠️
src/coord/rmr/rmr.c 50.00% 3 Missing ⚠️
src/coord/rmr/chan.c 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #5165      +/-   ##
==========================================
- Coverage   86.32%   86.30%   -0.02%     
==========================================
  Files         189      189              
  Lines       34380    34389       +9     
==========================================
+ Hits        29680    29681       +1     
- Misses       4700     4708       +8     

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

Merged via the queue into 8.0 with commit f29be59 Nov 5, 2024
@kei-nan kei-nan deleted the backport-5137-to-8.0 branch November 5, 2024 17:35
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