Repository navigation
Bump default codec buffer size to 8 KiB - #402
Merged
Merged
Conversation
eazyhozy
previously approved these changes
Jul 9, 2026
eazyhozy
self-requested a review
July 9, 2026 05:45
eazyhozy
dismissed
their stale review
July 9, 2026 05:45
LGTM👍🏻
offline review: tests for having 8k buffer are required
Contributor
|
Please add tests for 8 KiB and over 8 KiB. @zipdoki Currently, the value is maintained in two places due to the legacy implementation. It would be better to cover both cases in one test file so we do not miss either side. |
…`EdgeStateMapper`
…fault` instead of custom pool creation
…ult.use` for buffer management
…clarify test descriptions
Contributor
|
Since the value is still maintained in two places due to the legacy implementation, testing it in LGTM 👍 @zipdoki |
zipdoki
added a commit
that referenced
this pull request
Jul 10, 2026
(cherry picked from commit 2f28e64)
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Bump the default codec buffer size from 5120 to 8192 bytes.
8 KiB is a common page/IO size and stays well below HBase's MOB threshold (~100 KiB), so encoded rows stay on the regular write path.
Ref: https://hbase.apache.org/docs/architecture/hbase-mob/
Changes
How to Test
./gradlew :core:test --tests "com.kakao.actionbase.core.codec.*"AI Assistance