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

fix(bulk): Fix memory held by tree in reduce phase #7161

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

ahsanbarkati
Copy link
Contributor

@ahsanbarkati ahsanbarkati commented Dec 17, 2020

This issue was observed earlier as well and there was a PR fixing it. This PR brings that change back.
#4738

We still need to find the exact cause of why the tree is not GCed without explicitly setting it to nil, despite the parent struct set to nil.


This change is Reviewable

Copy link
Contributor

@NamanJain8 NamanJain8 left a comment

Choose a reason for hiding this comment

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

Approved as per #4738. But we should still figure out the exact cause.

@ahsanbarkati ahsanbarkati merged commit cc3dbfa into master Dec 17, 2020
@ahsanbarkati ahsanbarkati deleted the ahsan/bulk-flush branch December 17, 2020 20:27
danielmai pushed a commit that referenced this pull request Dec 21, 2020
Fix memory held by b+ tree even in the reduce phase of bulk loader by bringing 
back the change #4738.
ahsanbarkati added a commit that referenced this pull request Jan 19, 2021
Fix memory held by b+ tree even in the reduce phase of bulk loader by bringing
back the change #4738.

(cherry picked from commit cc3dbfa)
NamanJain8 pushed a commit that referenced this pull request Jan 19, 2021
Fix memory held by b+ tree even in the reduce phase of bulk loader by bringing
back the change #4738.

(cherry picked from commit cc3dbfa)
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