Skip to content

[2.10] Fix Numeric Tree Balance - [MOD-8081, MOD-8082]#5199

Merged
GuyAv46 merged 1 commit into2.10from
backport-5185-to-2.10
Nov 12, 2024
Merged

[2.10] Fix Numeric Tree Balance - [MOD-8081, MOD-8082]#5199
GuyAv46 merged 1 commit into2.10from
backport-5185-to-2.10

Conversation

@GuyAv46
Copy link
Collaborator

@GuyAv46 GuyAv46 commented Nov 11, 2024

Description

Backport of #5185 to 2.10.

* add a failing test

* fix maxDepth calculation (balance logic)

* fix parent range depth logic

* improve test and remove a print

* fix test

* comment fixes

* tidy up

* simplified test and address CR

* code cleanup and address CR

(cherry picked from commit 5884687)
@GuyAv46 GuyAv46 added the bug label Nov 11, 2024
@GuyAv46 GuyAv46 requested review from alonre24 and raz-mon November 11, 2024 20:06
@GuyAv46 GuyAv46 enabled auto-merge November 11, 2024 20:06
@codecov
Copy link

codecov bot commented Nov 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.43%. Comparing base (5aa00b0) to head (3a4e509).
Report is 1 commits behind head on 2.10.

Additional details and impacted files
@@            Coverage Diff             @@
##             2.10    #5199      +/-   ##
==========================================
- Coverage   86.43%   86.43%   -0.01%     
==========================================
  Files         192      192              
  Lines       34121    34118       -3     
==========================================
- Hits        29493    29489       -4     
- Misses       4628     4629       +1     

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

@GuyAv46 GuyAv46 added this pull request to the merge queue Nov 12, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 12, 2024
@GuyAv46 GuyAv46 added this pull request to the merge queue Nov 12, 2024
Merged via the queue into 2.10 with commit 4645bc6 Nov 12, 2024
@GuyAv46 GuyAv46 deleted the backport-5185-to-2.10 branch November 12, 2024 09:25
raz-mon added a commit that referenced this pull request Jan 31, 2025
This reverts commit 325a318.

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

This reverts commit 4645bc6.

Revert "[2.10] Performance improvement in indexBulkFields - [MOD-8093] (#5191)"

This reverts commit 5aa00b0.

Revert "[2.10] Add VecSim related metrics - [MOD-7967] (#5169)"

This reverts commit 242f314.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants