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] [server] Refactor ByteBuf release method in InterleavedLedgerStorage #3674

Merged
merged 1 commit into from Nov 29, 2022

Conversation

StevenLuMT
Copy link
Contributor

Motivation

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

Changes

  1. Use ReferenceCountUtil.safeRelease() instead of ByteBuf.release() in InterleavedLedgerStorage

@StevenLuMT StevenLuMT changed the title [refactor][bookkeeper] Refactor ByteBuf release method in InterleavedLedgerStorage [refactor] Refactor ByteBuf release method in InterleavedLedgerStorage Nov 27, 2022
@StevenLuMT StevenLuMT changed the title [refactor] Refactor ByteBuf release method in InterleavedLedgerStorage [refactor] [server] Refactor ByteBuf release method in InterleavedLedgerStorage Nov 27, 2022
@nicoloboschi nicoloboschi merged commit 25f03a0 into apache:master Nov 29, 2022
nicoloboschi pushed a commit that referenced this pull request Nov 29, 2022
Co-authored-by: lushiji <lushiji@didiglobal.com>
(cherry picked from commit 25f03a0)
nicoloboschi pushed a commit that referenced this pull request Nov 29, 2022
Co-authored-by: lushiji <lushiji@didiglobal.com>
(cherry picked from commit 25f03a0)
(cherry picked from commit 7467996)
nicoloboschi pushed a commit to datastax/bookkeeper that referenced this pull request Jan 11, 2023
Co-authored-by: lushiji <lushiji@didiglobal.com>
(cherry picked from commit 25f03a0)
(cherry picked from commit 7467996)
yaalsn pushed a commit to yaalsn/bookkeeper that referenced this pull request Jan 30, 2023
Co-authored-by: lushiji <lushiji@didiglobal.com>
zymap added a commit that referenced this pull request Feb 16, 2023
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.

None yet

6 participants