Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.8] MOD-5977 MOD-5866: Fix inverted index memory counting (#4218) #4669

Merged
merged 3 commits into from
May 24, 2024

Conversation

nafraf
Copy link
Collaborator

@nafraf nafraf commented May 23, 2024

Description

Backport of #4218 to 2.8.
(cherry picked from commit 959ed1a)

Which issues this PR fixes

  1. MOD-5977
  2. MOD-5866

(done through MOD-6515)

Some of the fields returned by FT.INFO in 2.8 are strings but the same fields in master are returned as integers. Thus, some tests needed to include the type conversion.

nafraf and others added 2 commits May 23, 2024 11:38
---------
Co-authored-by: Omer Shadmi <76992134+oshadmi@users.noreply.github.com>
(cherry picked from commit 959ed1a)
@nafraf nafraf marked this pull request as ready for review May 23, 2024 17:43
Copy link

codecov bot commented May 23, 2024

Codecov Report

Attention: Patch coverage is 86.27451% with 14 lines in your changes are missing coverage. Please review.

Project coverage is 84.30%. Comparing base (3d2ba59) to head (02cca22).

Files Patch % Lines
src/qint.c 69.23% 4 Missing ⚠️
src/numeric_index.c 84.21% 3 Missing ⚠️
src/redis_index.c 66.66% 3 Missing ⚠️
src/fork_gc.c 88.88% 2 Missing ⚠️
src/inverted_index.c 87.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.8    #4669      +/-   ##
==========================================
+ Coverage   84.23%   84.30%   +0.07%     
==========================================
  Files         193      193              
  Lines       34112    34126      +14     
==========================================
+ Hits        28735    28771      +36     
+ Misses       5377     5355      -22     

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

@nafraf nafraf requested a review from oshadmi May 24, 2024 13:27
@nafraf nafraf added this pull request to the merge queue May 24, 2024
Merged via the queue into 2.8 with commit 902ab95 May 24, 2024
10 checks passed
@nafraf nafraf deleted the nafraf_backport-4218-to-2.8 branch May 24, 2024 15:16
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.

None yet

2 participants