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

[improve] [broker] Add logs for the checksum comparation #21676

Closed
wants to merge 5 commits into from

Conversation

poorbarcode
Copy link
Contributor

Motivation

Many users hit the issue Failed to verify checksum, see #21557

apache/bookkeeper#4140 tries to fix the bug of Java9IntHash, but @TinyQAQ said the fix did not fix the issue they hit.

I want to add some logs to make it can be easier to analyze.

Modifications

  • Add logs for the checksum comparison
  • A util class VerboseLoggerThrottle is used to avoid too many verbose logs to print. ZK's utility class(RateLogger) does not match our requirements, so we created this one.

Documentation

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

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode added this to the 3.2.0 milestone Dec 6, 2023
@poorbarcode poorbarcode self-assigned this Dec 6, 2023
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 6, 2023
@poorbarcode poorbarcode added release/3.0.3 ready-to-test and removed doc-not-needed Your PR changes do not impact docs labels Dec 6, 2023
@poorbarcode
Copy link
Contributor Author

/pulsarbot rerun-failure-checks

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-not-needed Your PR changes do not impact docs ready-to-test release/3.0.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant