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] Change log level to debug when check parameters in BatchRead. #4485

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dao-jun
Copy link
Member

@dao-jun dao-jun commented Aug 21, 2024

Motivation

Change log-level to debug when checking param maxSize in LedgerHandle#batchReadEntriesInternalAsync.

In some conditions, we don't know what's the size of the entries to be read, so we pass 0 to batchReadAsync method,
if log the message in each invoke, it may impact the performance and cause too much noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant