You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java
+8-3
Original file line number
Diff line number
Diff line change
@@ -1083,15 +1083,15 @@ public boolean trackDelayedDelivery(long ledgerId, long entryId, MessageMetadata
1083
1083
}
1084
1084
1085
1085
synchronized (this) {
1086
-
if (!delayedDeliveryTracker.isPresent()) {
1086
+
if (delayedDeliveryTracker.isEmpty()) {
1087
1087
if (!msgMetadata.hasDeliverAtTime()) {
1088
1088
// No need to initialize the tracker here
1089
1089
returnfalse;
1090
1090
}
1091
1091
1092
1092
// Initialize the tracker the first time we need to use it
0 commit comments