Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 3.9k
[fix](OlapScanner)fix bitmap or hll's OOM#8764
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
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
ea33000e573d62f9fd2c90bc3e4182173711b232cb4d940965056b9b5d7b614f10f02e6cdc89b91bf41398b139bFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -54,6 +54,11 @@ class ObjectPool { | ||
| for (Element& elem : _objects) elem.delete_fn(elem.obj); | ||
| _objects.clear(); | ||
| } | ||
| uint64_t size() { | ||
Contributor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Need a ContributorAuthor There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done. | ||
| std::lock_guard<SpinLock> l(_lock); | ||
| return _objects.size(); | ||
| } | ||
| void acquire_data(ObjectPool* src) { | ||
| _objects.insert(_objects.end(), src->_objects.begin(), src->_objects.end()); | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add comment for this new config
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.