-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement utility function
purge_all_jemalloc_arenas()
to be used l…
…ater by fast secondary index creation Summary: This change is complimentary to https://reviews.facebook.net/D61779 and can be landed either before or after D61779. However, once D61779 lands then at the end of the `ha_rocksdb::inplace_populate_sk(...)` we'll need to call `purge_all_jemalloc_arenas()` to work around the problems which happen when `CREATE INDEX` statements are applied to large (and I mean really large :-)) amounts of data. Test Plan: - Usual Sandcastle testing. - Manual performance testing internally to make sure that there'll be no memory leaks and `jemalloc` won't hold on to memory till thread state changes. Reviewers: yoshinorim, alexyang Reviewed By: alexyang Subscribers: webscalesql-eng Differential Revision: https://reviews.facebook.net/D63723
- Loading branch information
Gunnar Kudrjavets
authored and
Herman Lee
committed
Jan 24, 2017
1 parent
050ccdc
commit 5efe80b
Showing
3 changed files
with
74 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters