lhotari commented on code in PR #25229:
URL: https://github.com/apache/pulsar/pull/25229#discussion_r2781026043


##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/NegativeAcksTracker.java:
##########
@@ -158,7 +158,7 @@ static long trimLowerBit(long timestamp, int bits) {
     private synchronized void add(MessageId messageId, int redeliveryCount) {
         if (messageId instanceof TraceableMessageId) {
             Span span = ((TraceableMessageId) messageId).getTracingSpan();
-            if (span != null) {
+            if (span != null || messageId instanceof ChunkMessageIdImpl) {

Review Comment:
   @thetumbled Do you also have a chance to take a look since this is related 
to "PIP-393: Improve performance of Negative Acknowledgement"?



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