Skip to content

Revert inverted index iterator changes#5596

Merged
GuyAv46 merged 7 commits into2.10from
guyav-revert_inverted_index_iterator_changes
Feb 5, 2025
Merged

Revert inverted index iterator changes#5596
GuyAv46 merged 7 commits into2.10from
guyav-revert_inverted_index_iterator_changes

Conversation

@GuyAv46
Copy link
Collaborator

@GuyAv46 GuyAv46 commented Feb 4, 2025

Describe the changes in the pull request

Reverting minor improvements introduced in #5350, #5364, and a followup introduced in #5528

Complimentary to #5591 for master and 8.0.

Which additional issues this PR fixes

  1. [CRASH] RediSearch Crash after working for several hours, with Redis 7.2.0 crashed by signal: 11, si_code: 128 and Accessing address: (nil) #5517
  2. [BUG] Redis 7.4.2 crashed by signal: 11, si_code: 128 - intermittently when running FT.SEARCH #5532
  3. [BUG] #5594
  4. [BUG] Segmentation fault Redis 6.2.17 crashed by signal: 11, si_code: 128 #5601
  5. [BUG] One more Redis 7.4.2 crashed by signal: 11, si_code: 128 #5604

Mark if applicable

  • This PR introduces API changes
  • This PR introduces serialization changes

@codecov
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

Attention: Patch coverage is 83.33333% with 3 lines in your changes missing coverage. Please review.

Project coverage is 87.45%. Comparing base (c689410) to head (645b171).
Report is 2 commits behind head on 2.10.

Files with missing lines Patch % Lines
src/inverted_index.c 83.33% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #5596      +/-   ##
==========================================
- Coverage   87.49%   87.45%   -0.05%     
==========================================
  Files         196      196              
  Lines       34155    34160       +5     
==========================================
- Hits        29884    29873      -11     
- Misses       4271     4287      +16     

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

@GuyAv46 GuyAv46 requested review from DvirDukhan and raz-mon February 5, 2025 11:30
@GuyAv46 GuyAv46 requested a review from raz-mon February 5, 2025 12:06
@GuyAv46 GuyAv46 added this pull request to the merge queue Feb 5, 2025
Merged via the queue into 2.10 with commit 8d3282d Feb 5, 2025
10 checks passed
@GuyAv46 GuyAv46 deleted the guyav-revert_inverted_index_iterator_changes branch February 5, 2025 14:17
@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.8
git worktree add -d .worktree/backport-5596-to-2.8 origin/2.8
cd .worktree/backport-5596-to-2.8
git switch --create backport-5596-to-2.8
git cherry-pick -x 8d3282df7633e1d1928cee4887d47e05fef9ff9c

@redisearch-backport-pull-request
Copy link
Contributor

Backport failed for 2.6, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin 2.6
git worktree add -d .worktree/backport-5596-to-2.6 origin/2.6
cd .worktree/backport-5596-to-2.6
git switch --create backport-5596-to-2.6
git cherry-pick -x 8d3282df7633e1d1928cee4887d47e05fef9ff9c

GuyAv46 added a commit that referenced this pull request Feb 5, 2025
* Revert "[2.10] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5536)"

This reverts commit f9923b7.

* Revert "[2.10] Improve SkipToBlock logic - [MOD-8255] (#5370)"

This reverts commit 56b16ea.

* partial revert of #5364

* address CR, added tests

* test improvement

* Improve test and fix bug (remove revert)

* remove temporary change

(cherry picked from commit 8d3282d)
GuyAv46 added a commit that referenced this pull request Feb 5, 2025
* Revert "[2.10] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5536)"

This reverts commit f9923b7.

* Revert "[2.10] Improve SkipToBlock logic - [MOD-8255] (#5370)"

This reverts commit 56b16ea.

* partial revert of #5364

* address CR, added tests

* test improvement

* Improve test and fix bug (remove revert)

* remove temporary change

(cherry picked from commit 8d3282d)
github-merge-queue bot pushed a commit that referenced this pull request Feb 5, 2025
* Revert inverted index iterator changes (#5596)

* Revert "[2.10] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5536)"

This reverts commit f9923b7.

* Revert "[2.10] Improve SkipToBlock logic - [MOD-8255] (#5370)"

This reverts commit 56b16ea.

* partial revert of #5364

* address CR, added tests

* test improvement

* Improve test and fix bug (remove revert)

* remove temporary change

(cherry picked from commit 8d3282d)

* fix test for 2.6
github-merge-queue bot pushed a commit that referenced this pull request Feb 5, 2025
Revert inverted index iterator changes (#5596)

* Revert "[2.10] MOD-8561: Fix Inverted Index SeekTo Edge Case (#5536)"

This reverts commit f9923b7.

* Revert "[2.10] Improve SkipToBlock logic - [MOD-8255] (#5370)"

This reverts commit 56b16ea.

* partial revert of #5364

* address CR, added tests

* test improvement

* Improve test and fix bug (remove revert)

* remove temporary change

(cherry picked from commit 8d3282d)
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.

3 participants