Skip to content

Commit

Permalink
unload bundle causes topic fence, OpAddEntry NPE appears in addComple…
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoliang01 committed Sep 23, 2022
1 parent 3bc673c commit a5722e3
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ public void addComplete(int rc, final LedgerHandle lh, long entryId, Object ctx)
return;
}

if(ledger == null){
return;
}

if (ledger.getId() != lh.getId()) {
log.warn("[{}] ledgerId {} doesn't match with acked ledgerId {}", ml.getName(), ledger.getId(), lh.getId());
}
Expand Down

0 comments on commit a5722e3

Please sign in to comment.