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

[BP-62] LedgerHandle introduces batch read API. #4195

Merged
merged 17 commits into from
Feb 5, 2024

Conversation

horizonzy
Copy link
Member

@horizonzy horizonzy commented Jan 30, 2024

Motivation

This is the fifth PR for the batch read(#4051) feature.

LedgerHandle introduces batch read API.

This PR is based on #4190, please merge it firstly.

* the total entries count.
* @param maxSize
* the total entries size.
* @param failbackToSingleRead
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we always want to fallback, when the server does not support the feature?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, we should always failback to single read when the batch read is not supported.

Copy link
Member Author

@horizonzy horizonzy Feb 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will remove the failbackToSingleRead flag.

@hangc0276 hangc0276 merged commit 2209734 into apache:master Feb 5, 2024
16 checks passed
Ghatage pushed a commit to sijie/bookkeeper that referenced this pull request Jul 12, 2024
### Motivation
This is the fifth PR for the batch read(apache#4051) feature.

LedgerHandle introduces batch read API.

This PR is based on apache#4190, please merge it firstly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants