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

Use AllocatorPool in Stream and TableBuilder #1593

Merged
merged 10 commits into from
Nov 11, 2020
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Nov 11, 2020

We removed the global z.Allocator pool from z package. Instead, we now use a new z.AllocatorPool class in the places which need a pool. In this case, we brought it to TableBuilder and Stream.


This change is Reviewable

@manishrjain manishrjain merged commit b94b561 into master Nov 11, 2020
@manishrjain manishrjain deleted the mrjn/stream-allocate branch November 11, 2020 21:02
danielmai pushed a commit that referenced this pull request Nov 11, 2020
We removed the global z.Allocator pool from z package. Instead, we now use a new z.AllocatorPool class in the places which need a pool. In this case, we brought it to TableBuilder and Stream.

Fix up a memory leak in Stream.

Co-authored-by: Ibrahim Jarif <[email protected]>
danielmai added a commit that referenced this pull request Nov 11, 2020
Cherry-pick of #1593.

We removed the global z.Allocator pool from z package. Instead, we now use a new z.AllocatorPool class in the places which need a pool. In this case, we brought it to TableBuilder and Stream.

Fix up a memory leak in Stream.

Co-authored-by: Manish R Jain <[email protected]>
Co-authored-by: Ibrahim Jarif <[email protected]>
danielmai added a commit to hypermodeinc/dgraph that referenced this pull request Nov 12, 2020
Update badger to the latest master to fix a memory leak in Badger
stream (dgraph-io/badger#1593)

Changes:

* Update Badger to dgraph-io/badger@e002a9d
* Quiet logs for tmp badger dbs in reindexing.
danielmai added a commit to hypermodeinc/dgraph that referenced this pull request Nov 12, 2020
Update badger to the latest master to fix a memory leak in Badger
stream (dgraph-io/badger#1593)

Changes:

* Update Badger to dgraph-io/badger@e002a9d
* Quiet logs for tmp badger dbs in reindexing.

Cherry-pick:

* chore(btree): update ristretto to bring in improvements in b+ tree (#6875
NamanJain8 pushed a commit that referenced this pull request Feb 16, 2021
This updates the godoc for the following:

ValueThreshold based on #1664
stream.NumGo based on #1593
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.

1 participant