congbobo184 commented on a change in pull request #6717: fix filesystem offload
oom based on https://github.com/apache/pulsar/…
URL: https://github.com/apache/pulsar/pull/6717#discussion_r407199956
##########
File path:
tiered-storage/file-system/src/main/java/org/apache/bookkeeper/mledger/offload/filesystem/impl/FileSystemManagedLedgerOffloader.java
##########
@@ -62,12 +65,14 @@
private final FileSystem fileSystem;
private OrderedScheduler scheduler;
private static final long ENTRIES_PER_READ = 100;
+ private static final int PREFETCH_ROUNDS = 100;
Review comment:
One per reading is ok, the PREFETCH_ROUNDS unnecessary to big.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services