BewareMyPower commented on code in PR #15413:
URL: https://github.com/apache/pulsar/pull/15413#discussion_r867355416
##########
pulsar-common/src/main/java/org/apache/pulsar/common/protocol/Commands.java:
##########
@@ -519,6 +519,8 @@ public static ByteBufPair newSend(long producerId, long
sequenceId, long highest
.setSequenceId(sequenceId);
if (highestSequenceId >= 0) {
send.setHighestSequenceId(highestSequenceId);
+ } else {
+ send.clearHighestSequenceId();
Review Comment:
Yeah, we don't need to clear it 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]