Skip to content

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

Merged
kei-nan merged 6 commits into2.6from
backport-5137-to-2.6
Nov 6, 2024
Merged

[2.6] MOD-8009: Allow Users To Configure Cursor Index Limitation Through Global Config#5168
kei-nan merged 6 commits into2.6from
backport-5137-to-2.6

Conversation

@kei-nan
Copy link
Collaborator

@kei-nan kei-nan commented Nov 5, 2024

Manual backport of #5137 to 2.6.

kei-nan and others added 3 commits November 5, 2024 17:31
…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 requested a review from raz-mon November 5, 2024 15:38
@kei-nan kei-nan self-assigned this Nov 5, 2024
@kei-nan kei-nan enabled auto-merge November 5, 2024 15:39
@codecov
Copy link

codecov bot commented Nov 5, 2024

Codecov Report

Attention: Patch coverage is 84.21053% with 6 lines in your changes missing coverage. Please review.

Project coverage is 83.79%. Comparing base (31f821f) to head (db0ad9a).
Report is 1 commits behind head on 2.6.

Files with missing lines Patch % Lines
coord/src/rmr/rmr.c 57.14% 3 Missing ⚠️
coord/src/dist_aggregate.c 85.71% 1 Missing ⚠️
coord/src/module.c 0.00% 1 Missing ⚠️
coord/src/rmr/chan.c 75.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.6    #5168      +/-   ##
==========================================
- Coverage   83.79%   83.79%   -0.01%     
==========================================
  Files         178      178              
  Lines       31269    31279      +10     
==========================================
+ Hits        26201    26209       +8     
- Misses       5068     5070       +2     

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

@kei-nan kei-nan requested a review from raz-mon November 6, 2024 09:47
@kei-nan kei-nan added this pull request to the merge queue Nov 6, 2024
Merged via the queue into 2.6 with commit b86fcda Nov 6, 2024
@kei-nan kei-nan deleted the backport-5137-to-2.6 branch November 6, 2024 12:11
raz-mon added a commit that referenced this pull request Jan 30, 2025
This reverts commit 2ea41bf.

Revert "[2.6] Fix Max Frequency Misscalculation - [MOD-8158] (#5559)"

This reverts commit 7e0288d.

Revert "[2.6] Fix flakiness in a test - [MOD-8611] (#5546)"

This reverts commit 1a43260.

Revert "[2.6] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5543)"

This reverts commit 1c2be01.

Revert "Backport 4243 to 2.6 (#5509)"

This reverts commit 5d90c3b.

Revert "[2.6] Fix legacy geofilter leak - [MOD-8568] (#5519)"

This reverts commit 221f139.

Revert "MOD-7570 Backport 5422 to 2.6 (#5473)"

This reverts commit a0f9d4b.

Revert "[2.6] MOD-7864: Obfuscation API (#5486)"

This reverts commit 11864ea.

Revert "[2.6] MOD-7634: Fix NOSTEM  (#5484)"

This reverts commit 54a82e0.

Revert "[2.6] [MOD-8462] rename total_active_writes -> total_active_write_threads (#5445)"

This reverts commit 3805366.

Revert "Backport info metrics including index error mechanism to 2.6 [MOD-8450] (#5413)"

This reverts commit eb8993c.

Revert "[2.6] Fixes for inverted indexes encoding - [MOD-8248] (#5390)"

This reverts commit 382bc94.

Revert "[2.6] MOD-8221: backport info fields (for metrics) to 2.6 (#5375)"

This reverts commit 24790ec.

Revert "[2.6] Improve "Raw doc id" encoding - [MOD-8255] (#5374)"

This reverts commit 778bf80.

Revert "[2.6] Improve SkipToBlock logic - [MOD-8255] (#5368)"

This reverts commit 775508c.

Revert "[2.6][MOD-8115] Free spec resources in the main thread (#5324) (#5331)"

This reverts commit fc7b1a6.

Revert "[2.6] Fix Sorting Vector - [MOD-6783] (#5315)"

This reverts commit 990cdcb.

Revert "[2.6] Fix a flakiness in testCursorOnCoordinator - [MOD-8016] (#5306)"

This reverts commit 666db12.

Revert "[2.6] Fix long PREFIX/SUFFIX/INFIX/WILDCARD queries - [MOD-7882] (#5302)"

This reverts commit 2e0da82.

Revert "[2.6] Fix missing expansions in text queries - [MOD-8142] (#5286)"

This reverts commit a39acfe.

Revert "[2.6] MOD-8188: Fix OnReopen Comments (#5289)"

This reverts commit 4a08a98.

Revert "[2.6] Fix Tag OnReopen Callback - [MOD-8011] (#5281)"

This reverts commit ee4d515.

Revert "[2.6] Fix MRIterator ownership mechanism - [MOD-8108] (#5270)"

This reverts commit 601002a.

Revert "[2.6] MOD-8129: Fix indexed_percent info stat (#5250)"

This reverts commit 4dc1713.

Revert "[2.6] Fix Numeric Tree Balance - [MOD-8081, MOD-8082] (#5201)"

This reverts commit b331af9.

Revert "[2.6] Performance improvement in indexBulkFields - [MOD-8093] (#5193)"

This reverts commit 54c9ded.

Revert "[2.6] MOD-8009: Allow Users To Configure Cursor Index Limitation Through Global Config (#5168)"

This reverts commit b86fcda.

Revert "[2.6] Improve Error Message on VecSim Syntax Error - [MOD-7887] (#5107)"

This reverts commit 4c09577.

Revert "[2.6] Fix flaky test (#5085)"

This reverts commit 8cf0465.
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.

2 participants