-
Notifications
You must be signed in to change notification settings - Fork 15.4k
KAFKA-20578: Initial producer incremental allocation for uncompressed data #22654
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
Open
lianetm
wants to merge
56
commits into
apache:trunk
Choose a base branch
from
lianetm:lm-producer-dyn-1
base: trunk
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
4ec8d04
support dyn for uncompressed
lianetm 203a410
tests
lianetm 64147f6
config & ratio-aware chunk sizing
lianetm 8c82cd2
integration tests
lianetm b71d5b7
refactor validation & upd docs
lianetm bdc14e9
update config
lianetm 4e91499
fix for partition change & misc
lianetm 9ccd47d
test updates & docs
lianetm 860bde4
fixes
lianetm 179e675
checkstyle
lianetm 2bafe00
Merge branch 'trunk' into lm-producer-dyn-1
lianetm 9b45abc
fix test
lianetm 59af947
config internal
lianetm 9e791c8
improvements for tryAppend
lianetm 35c5940
release unused & test
lianetm 63de56b
fix to loop in ensureChunkCapacity
lianetm a2ee30f
fix iteration up to currentChunk
lianetm 3c896c6
remove unneeded freeup call
lianetm 20e52d3
tests for concurrent reservation
lianetm 8d2f5e2
fix for int max value cap
lianetm 3e1fcd8
improve reservation when no mem available
lianetm 36b168d
consolidate refund of pooled and non-pooled mem
lianetm c4dd928
add missing metric + test
lianetm a246f9d
O(1) capacity calculation
lianetm d9e21e8
Merge branch 'trunk' into lm-producer-dyn-1
lianetm c645114
fix for overcounting and test
lianetm 79b05e0
Merge branch 'trunk' into lm-producer-dyn-1
lianetm 803816a
release unused on stream close & tests
lianetm 7301966
indentation, docs & asserts
lianetm 1d1dcd8
rename
lianetm dea7c88
close for writes after buffer & test
lianetm 1e5a006
clear index
lianetm 1387a8b
validate deallocated & test
lianetm 9996c77
fix accessor & simplify currentChunkIndex
lianetm 210d0a4
remove dup math on numChunks
lianetm 58a0bfc
consolidate deallocateExtensionChunks
lianetm e8c78a5
clarify over-allocation on concurrent appends
lianetm 1d8bdd3
refactor append result
lianetm 4f3543a
docs
lianetm cb440a9
Merge branch 'trunk' into lm-producer-dyn-1
lianetm 2136f0b
fix package name
lianetm 9eced7d
consolidate BufferPool
lianetm 7a5afd1
addressing comments
lianetm 68d3fee
reuse size
lianetm a7aa754
Merge branch 'trunk' into lm-producer-dyn-1
lianetm d991798
dedup on RecordAccumulator
lianetm 058642e
pool with allocationMode
lianetm 69828a4
addressing comments
lianetm 87074bf
more updates in tests
lianetm 8e9070b
assert stream closed on buffer call
lianetm 79caa2f
validate chunk capacity on addBuffers & test
lianetm b1a48d9
reuse estimator
lianetm 29bcbc4
Merge branch 'trunk' into lm-producer-dyn-1
lianetm e721a23
renames
lianetm 2fd0113
Merge branch 'trunk' into lm-producer-dyn-1
lianetm 1de3d76
improve test timeouts
lianetm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
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.
If we switch automatically to full because of the batch size, it might be useful to log a warning.