Skip to content

Disk buffer related queries - Version 0.22.0 #13001

Answered by tobz
hemanthofficial3009 asked this question in Q&A
Discussion options

You must be logged in to vote

Q1. Can you please look into this to help us understand the behavior of latest buffer changes.

In your example case, what you're observing is how the disk buffer deals with adjusting the buffer limits to ensure it has enough space to provide certain invariants so the buffer can operate correctly.

Prior to 0.23.0

Prior to 0.23.0, the logic for the buffer looked like this:

  1. round the user-specified maximum buffer size (buffer.max_size) down to the nearest multiple of the maximum data file size (128MB)
  2. calculate the logical maximum buffer size as the greater of the value from step one, or 128MB

After that, we limited the buffer to storing as many outstanding events (not read/processed yet…

Replies: 4 comments 14 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@hemanthofficial3009
Comment options

@tobz
Comment options

tobz Jun 7, 2022
Collaborator

@hemanthofficial3009
Comment options

@tobz
Comment options

tobz Jun 21, 2022
Collaborator

Comment options

You must be logged in to vote
6 replies
@tobz
Comment options

tobz Jun 16, 2022
Collaborator

@bmallya
Comment options

@tobz
Comment options

tobz Jun 23, 2022
Collaborator

@hemanthofficial3009
Comment options

@jszwedko
Comment options

Comment options

You must be logged in to vote
4 replies
@hemanthofficial3009
Comment options

@tobz
Comment options

tobz Jul 14, 2022
Collaborator

@Ilmarii
Comment options

@tobz
Comment options

tobz Sep 7, 2022
Collaborator

Answer selected by JeanMertz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants