poorbarcode commented on code in PR #4462:
URL: https://github.com/apache/bookkeeper/pull/4462#discussion_r1670090679
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/HandleFactory.java:
##########
@@ -24,7 +24,7 @@
import java.io.IOException;
interface HandleFactory {
- LedgerDescriptor getHandle(long ledgerId, byte[] masterKey)
+ LedgerDescriptor getHandle(long ledgerId, byte[] masterKey, boolean
journalReplay)
Review Comment:
- Get a handle that is read-only will call `getReadOnlyHandle`
- There is only one scenario that will call `getHandle` to read, it is
journal replay.
--
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]