gaoran10 commented on a change in pull request #12095:
URL: https://github.com/apache/pulsar/pull/12095#discussion_r715297976
##########
File path:
tiered-storage/jcloud/src/main/java/org/apache/bookkeeper/mledger/offload/jcloud/impl/BlobStoreBackedReadHandleImpl.java
##########
@@ -92,6 +92,9 @@ public LedgerMetadata getLedgerMetadata() {
@Override
public CompletableFuture<LedgerEntries> readAsync(long firstEntry, long
lastEntry) {
log.debug("Ledger {}: reading {} - {}", getId(), firstEntry,
lastEntry);
+ if (!inputStream.haveDataToRead()) {
Review comment:
Sorry, I misunderstand the problem, nice catch, I'll check the
inputStream remaining data in lambda.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]