OffloadUtils.getOffloadDriverMetadata(info)); } else { openFuture = bookKeeper.newOpenLedgerOp().withRecovery(!isReadOnly()).withLedgerId(ledgerId) .withDigestType(config.getDigestType()).withPassword(config.getPassword()).execute();
bookKeeper.newOpenLedgerOp().withRecovery(false).withLedgerId(lastLedgerId) .withDigestType(config.getDigestType()).withPassword(config.getPassword()).execute() .thenAccept(readHandle -> { readHandle.readLastAddConfirmedAsync().thenAccept(lastAddConfirmed -> {
} else { openFuture = bookKeeper.newOpenLedgerOp() .withRecovery(!isReadOnly()) .withLedgerId(ledgerId) .withDigestType(config.getDigestType()) .withPassword(config.getPassword()).execute();
bookKeeper.newOpenLedgerOp().withRecovery(false).withLedgerId(lastLedgerId) .withDigestType(config.getDigestType()).withPassword(config.getPassword()).execute() .thenAccept(readHandle -> { readHandle.readLastAddConfirmedAsync().thenAccept(lastAddConfirmed -> {