Skip to content

Commit

Permalink
[fix][broker] fix exception may hidden and result in stuck when topic…
Browse files Browse the repository at this point in the history
… loading (apache#23102)

Co-authored-by: fanjianye <[email protected]>
(cherry picked from commit f02ce6c)
(cherry picked from commit 61703b8)
  • Loading branch information
TakaHiR07 authored and srinath-ctds committed Aug 12, 2024
1 parent 85150dc commit b0a40f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1815,7 +1815,7 @@ public void openLedgerComplete(ManagedLedger ledger, Object ctx) {
});
return null;
});
} catch (PulsarServerException e) {
} catch (Exception e) {
log.warn("Failed to create topic {}: {}", topic, e.getMessage());
pulsar.getExecutor().execute(() -> topics.remove(topic, topicFuture));
topicFuture.completeExceptionally(e);
Expand Down

0 comments on commit b0a40f4

Please sign in to comment.