liangyepianzhou commented on code in PR #20948:
URL: https://github.com/apache/pulsar/pull/20948#discussion_r1311002306


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/MessageDeduplication.java:
##########
@@ -387,8 +411,10 @@ public void recordMessagePersisted(PublishContext 
publishContext, PositionImpl p
             sequenceId = publishContext.getOriginalSequenceId();
             highestSequenceId = publishContext.getOriginalHighestSequenceId();
         }
-
-        highestSequencedPersisted.put(producerName, 
Math.max(highestSequenceId, sequenceId));
+        Boolean isLastChunk = (Boolean) 
publishContext.getProperty(IS_LAST_CHUNK);

Review Comment:
   We can not get chunk ID and total chunk here.



-- 
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]

Reply via email to