Skip to content

[8.0] Fix Numeric Tree Balance - [MOD-8081, MOD-8082]#5198

Merged
GuyAv46 merged 1 commit into8.0from
backport-5185-to-8.0
Nov 12, 2024
Merged

[8.0] Fix Numeric Tree Balance - [MOD-8081, MOD-8082]#5198
GuyAv46 merged 1 commit into8.0from
backport-5185-to-8.0

Conversation

@GuyAv46
Copy link
Collaborator

@GuyAv46 GuyAv46 commented Nov 11, 2024

Description

Backport of #5185 to 8.0.

* 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.48%. Comparing base (c7bf438) to head (7b71b4b).
Report is 1 commits behind head on 8.0.

Additional details and impacted files
@@            Coverage Diff             @@
##              8.0    #5198      +/-   ##
==========================================
- Coverage   86.49%   86.48%   -0.01%     
==========================================
  Files         191      191              
  Lines       34401    34398       -3     
==========================================
- Hits        29754    29750       -4     
- Misses       4647     4648       +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
Merged via the queue into 8.0 with commit 5f6cef2 Nov 12, 2024
@GuyAv46 GuyAv46 deleted the backport-5185-to-8.0 branch November 12, 2024 08:42
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