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

[refactor][bookkeeper] Refactor ByteBuf release method in DefaultEntryLogger #3673

Merged
merged 1 commit into from
Nov 29, 2022

Conversation

HQebupt
Copy link
Contributor

@HQebupt HQebupt commented Nov 27, 2022

Motivation

It may throw an exception when release a ByteBuf object. So the exception in ByteBuf.release should be checked.

Changes

Use ReferenceCountUtil.safeRelease() instead of ByteBuf.release().

Master Issue: #2

@StevenLuMT StevenLuMT changed the title [refactor][broker] Refactor ByteBuf release method in DefaultEntryLogger [refactor][bookkeeper] Refactor ByteBuf release method in DefaultEntryLogger Nov 27, 2022
@nicoloboschi nicoloboschi merged commit 8fce024 into apache:master Nov 29, 2022
nicoloboschi pushed a commit that referenced this pull request Nov 29, 2022
nicoloboschi pushed a commit that referenced this pull request Nov 29, 2022
…yLogger (#3673)

(cherry picked from commit 8fce024)
(cherry picked from commit c334fa3)
nicoloboschi pushed a commit to datastax/bookkeeper that referenced this pull request Jan 11, 2023
…yLogger (apache#3673)

(cherry picked from commit 8fce024)
(cherry picked from commit c334fa3)
yaalsn pushed a commit to yaalsn/bookkeeper that referenced this pull request Jan 30, 2023
zymap added a commit that referenced this pull request Feb 16, 2023
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
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.

4 participants