heesung-sn commented on code in PR #20948:
URL: https://github.com/apache/pulsar/pull/20948#discussion_r1290909763
##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/MessageDeduplication.java:
##########
@@ -139,6 +141,7 @@ public MessageDeduplication(PulsarService pulsar,
PersistentTopic topic, Managed
this.maxNumberOfProducers =
pulsar.getConfiguration().getBrokerDeduplicationMaxNumberOfProducers();
this.snapshotCounter = 0;
this.replicatorPrefix =
pulsar.getConfiguration().getReplicatorPrefix();
+ this.chunkMessageOngoing = ConcurrentOpenHashMap.<String,
Long>newBuilder().build();
Review Comment:
What if a broker restarts in the middle of receiving chunked messages?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]