Skip to content

Commit

Permalink
[improve][broker] Print recoverBucketSnapshot log if cursorProperties…
Browse files Browse the repository at this point in the history
… are empty (#21651)
  • Loading branch information
coderzc authored and Technoboy- committed Dec 8, 2023
1 parent 89b56a1 commit 2393ca7
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ private synchronized long recoverBucketSnapshot() throws RuntimeException {
ManagedCursor cursor = this.lastMutableBucket.getCursor();
Map<String, String> cursorProperties = cursor.getCursorProperties();
if (MapUtils.isEmpty(cursorProperties)) {
log.info("[{}] Recover delayed message index bucket snapshot finish, don't find bucket snapshot",
dispatcher.getName());
return 0;
}
FutureUtil.Sequencer<Void> sequencer = this.lastMutableBucket.getSequencer();
Expand Down

0 comments on commit 2393ca7

Please sign in to comment.