Skip to content

Fix(rollups): Fix splits in roll-up #7609

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

Merged
merged 4 commits into from
Mar 23, 2021
Merged

Fix(rollups): Fix splits in roll-up #7609

merged 4 commits into from
Mar 23, 2021

Conversation

ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented Mar 18, 2021

There was an issue with split creation in roll-up. When a part p is split
into two parts say p1 and p2 then the first UID of p2 should be greater
than the last UID of p1. This was being violated because of removing UIDs
until maxInt64 instead of maxUint64 from p in order to create p1.

This PR fixes this issue and also removes some unwanted codes.


This change is Reviewable

Copy link
Contributor

@jarifibrahim jarifibrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR looks good to me. Can we please add a test for this @ahsanbarkati ?

@ahsanbarkati ahsanbarkati merged commit d9ffc2c into master Mar 23, 2021
@ahsanbarkati ahsanbarkati deleted the ahsan/split-fix branch March 23, 2021 20:33
skrdgraph pushed a commit that referenced this pull request Aug 16, 2022
Fix roll-up split generation by fixing the range of UIDs
to keep in the first and second part of the split.
joshua-goldstein pushed a commit that referenced this pull request Aug 23, 2022
Fix(rollups): Fix splits in roll-up (#7609)

Fix roll-up split generation by fixing the range of UIDs
to keep in the first and second part of the split.
joshua-goldstein pushed a commit that referenced this pull request Sep 15, 2022
Fix(rollups): Fix splits in roll-up (#7609)

Fix roll-up split generation by fixing the range of UIDs
to keep in the first and second part of the split.
joshua-goldstein pushed a commit that referenced this pull request Sep 19, 2022
Fix(rollups): Fix splits in roll-up (#7609)

Fix roll-up split generation by fixing the range of UIDs
to keep in the first and second part of the split.
joshua-goldstein added a commit that referenced this pull request Sep 26, 2022
* cherry-pick-7609

Fix(rollups): Fix splits in roll-up (#7609)

Fix roll-up split generation by fixing the range of UIDs
to keep in the first and second part of the split.

* resolve conflict

* resolve more conflicts

* resolve more conflicts

* remove newline

* remove whitespace

Co-authored-by: Ahsan Barkati <ahsanbarkati@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants