liangyepianzhou commented on a change in pull request #12881:
URL: https://github.com/apache/pulsar/pull/12881#discussion_r752816022
##########
File path:
managed-ledger/src/main/java/org/apache/bookkeeper/mledger/impl/EntryCacheImpl.java
##########
@@ -234,7 +228,11 @@ private void asyncReadEntry0(ReadHandle lh, PositionImpl
position, final ReadEnt
} finally {
ledgerEntries.close();
}
- }, ml.getExecutor().chooseThread(ml.getName()));
Review comment:
Thank you for pointing out this problem, it may be better to use
asynchronous operations.
--
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]