Skip to content

[8.0] MOD-5904: Fix DocTable memsize#5799

Merged
redisearch-backport-pull-request[bot] merged 1 commit into8.0from
backport-5099-to-8.0
Mar 19, 2025
Merged

[8.0] MOD-5904: Fix DocTable memsize#5799
redisearch-backport-pull-request[bot] merged 1 commit into8.0from
backport-5099-to-8.0

Conversation

@redisearch-backport-pull-request
Copy link
Contributor

Description

Backport of #5099 to 8.0.

* Fix TrieMap Size and Cardinality

* Add python tests

* Fix cpp test

* Fix testKeyTableInfo

* Fix DocTable memsize

* Fix test_ft_info()

* Fix testDocTableInfo()

* Add description to DocTable properties

* Fix testDocTableInfo() 2

* Fix test_ft_info() 2

* Fix tests 3

* Fix testDocTableInfo() 4

* Fix unit-tests

* Update DocTable memory size calculation and related tests

* Update DocTable size calculation in tests to include struct size

* Remove unneeded memsize update

* Fix codespell errors

* Fix codespell errors

* testDocTableInfo: Use shardsCount instead of cluster nodes

* Revert changes related to triemap

* Fix codespell ignore comment in test_profile_crash_mod5323

(cherry picked from commit b4234ed)
@codecov
Copy link

codecov bot commented Mar 19, 2025

Codecov Report

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

Project coverage is 88.09%. Comparing base (6edded0) to head (00c50a7).
Report is 1 commits behind head on 8.0.

Files with missing lines Patch % Lines
src/doc_table.c 57.14% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #5799      +/-   ##
==========================================
- Coverage   88.09%   88.09%   -0.01%     
==========================================
  Files         200      200              
  Lines       36031    36038       +7     
==========================================
+ Hits        31742    31746       +4     
- Misses       4289     4292       +3     

☔ 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 Mar 19, 2025
Merged via the queue into 8.0 with commit acdd1c7 Mar 19, 2025
7 of 8 checks passed
@redisearch-backport-pull-request redisearch-backport-pull-request bot deleted the backport-5099-to-8.0 branch March 19, 2025 22:04
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