You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2022/12/01 11:16:36 UTC
[GitHub] [bookkeeper] wenbingshen commented on a diff in pull request #3654: Fix numLedgersReplicated metric
wenbingshen commented on code in PR #3654:
URL: https://github.com/apache/bookkeeper/pull/3654#discussion_r1036987913
##########
bookkeeper-server/src/main/java/org/apache/bookkeeper/client/BookKeeperAdmin.java:
##########
@@ -1145,9 +1145,10 @@ public void replicateLedgerFragment(LedgerHandle lh, final LedgerFragment ledger
if (MapUtils.isEmpty(targetBookieAddresses)) {
LOG.warn("Could not replicate for {} ledger: {}, not find target bookie.",
ledgerFragment.getReplicateType(), ledgerFragment.getLedgerId());
- return;
+ return false;
Review Comment:
Addressed. PTAL
--
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: commits-unsubscribe@bookkeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org