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

Unify ByteBufAllocator for the DirectIO component #3985

Merged
merged 3 commits into from
Jun 19, 2023

Conversation

hangc0276
Copy link
Contributor

Motivation

Some classes in the DirectIO component use PooledByteBufAllocator to create ByteBuf instead of using the BookKeeper-initiated allocator. When we configured the BookKeeper allocator OOM policy to shut down, the OOM policy can't apply to those classes which use PooledByteBufAllocator to create ByteBuf.

Modifications

  • Unify ByteBufAllocator for the DirectIO component.

@hangc0276 hangc0276 force-pushed the chenhang/unify_bytebuf_allocator branch from 2ce214c to 052b80b Compare June 13, 2023 08:03
@zymap zymap merged commit bf06642 into apache:master Jun 19, 2023
zymap pushed a commit that referenced this pull request Jun 19, 2023
### Motivation
Some classes in the DirectIO component use `PooledByteBufAllocator` to create ByteBuf instead of using the BookKeeper-initiated allocator. When we configured the BookKeeper allocator OOM policy to shut down, the OOM policy can't apply to those classes which use `PooledByteBufAllocator` to create ByteBuf.

### Modifications
- Unify ByteBufAllocator for the DirectIO component.

(cherry picked from commit bf06642)
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
### Motivation
Some classes in the DirectIO component use `PooledByteBufAllocator` to create ByteBuf instead of using the BookKeeper-initiated allocator. When we configured the BookKeeper allocator OOM policy to shut down, the OOM policy can't apply to those classes which use `PooledByteBufAllocator` to create ByteBuf. 

### Modifications
- Unify ByteBufAllocator for the DirectIO component.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants