Skip to content

Comments

[8.2] [MOD-10681] Fix cursor list empty#6601

Merged
redisearch-backport-pull-request[bot] merged 1 commit into8.2from
backport-6594-to-8.2
Aug 6, 2025
Merged

[8.2] [MOD-10681] Fix cursor list empty#6601
redisearch-backport-pull-request[bot] merged 1 commit into8.2from
backport-6594-to-8.2

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

Description

Backport of #6594 to 8.2.

* fix cursorList_Empty to mark delete instead of instant delete

* remove redundant GC call

* remove unused destroy

* remove Destroy from h file

* update owernship test

* fix comments

* expand test to multiple cursors

* fix loop

* use std::vector and std::find

(cherry picked from commit 188a741)
@codecov
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.38%. Comparing base (b50dfa8) to head (668db77).
⚠️ Report is 1 commits behind head on 8.2.

Additional details and impacted files
@@            Coverage Diff             @@
##              8.2    #6601      +/-   ##
==========================================
- Coverage   89.44%   89.38%   -0.06%     
==========================================
  Files         252      252              
  Lines       41557    41553       -4     
  Branches     3666     3666              
==========================================
- Hits        37170    37144      -26     
- Misses       4338     4360      +22     
  Partials       49       49              
Flag Coverage Δ
flow 82.02% <87.50%> (-0.18%) ⬇️
unit 47.07% <100.00%> (-0.02%) ⬇️

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 Aug 6, 2025
Merged via the queue into 8.2 with commit ef13b09 Aug 6, 2025
23 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-6594-to-8.2 branch August 6, 2025 12:57
alonre24 added a commit to alonre24/redis that referenced this pull request Aug 12, 2025
* Protect cursors that are running in the background for FT.AGGREGATE command while running FLUSHDB and avoid server crash - RediSearch/RediSearch#6601
* Fix performance regression in `info` command upon computing search indexes memory due to a change in Trie data structure implementation, and having it in O(1) again - RediSearch/RediSearch#6621
YaacovHazan pushed a commit to redis/redis that referenced this pull request Aug 13, 2025
* Protect cursors that are running in the background for FT.AGGREGATE
command while running FLUSHDB and avoid server crash -
RediSearch/RediSearch#6601
* Fix performance regression in `info` command upon computing search
indexes memory due to a change in Trie data structure implementation,
and having it in O(1) again -
RediSearch/RediSearch#6621
YaacovHazan pushed a commit to redis/redis that referenced this pull request Aug 13, 2025
* Protect cursors that are running in the background for FT.AGGREGATE
command while running FLUSHDB and avoid server crash -
RediSearch/RediSearch#6601
* Fix performance regression in `info` command upon computing search
indexes memory due to a change in Trie data structure implementation,
and having it in O(1) again -
RediSearch/RediSearch#6621
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant