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

[fix][broker] Pass bytesToRead when reading compacted entries #20850

Merged
merged 3 commits into from
Jul 22, 2023

Conversation

coderzc
Copy link
Member

@coderzc coderzc commented Jul 21, 2023

Motivation

When we read compacted entries, we miss bytesToRead, we should pass it.

Modifications

Pass bytesToRead when reading compacted entries.

Add wait parameter to make the method support non-wait mode.

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository:

@coderzc coderzc changed the title [fix][broker] Pass bytesToRead when reading compacted entries. [fix][broker] Pass bytesToRead when reading compacted entries Jul 21, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Jul 21, 2023
@coderzc coderzc force-pushed the fix_readcompacted_entry branch 2 times, most recently from 886aad2 to 66c0563 Compare July 21, 2023 08:41
@coderzc coderzc force-pushed the fix_readcompacted_entry branch from 66c0563 to e150b91 Compare July 21, 2023 09:42
@coderzc coderzc self-assigned this Jul 21, 2023
@coderzc coderzc added type/bug The PR fixed a bug or issue reported a bug area/broker labels Jul 21, 2023
@coderzc coderzc added this to the 3.1.0 milestone Jul 21, 2023
@coderzc coderzc merged commit 9ccc562 into apache:master Jul 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker area/compaction doc-not-needed Your PR changes do not impact docs type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants