clebertsuconic commented on a change in pull request #3435:
URL: https://github.com/apache/activemq-artemis/pull/3435#discussion_r571452013
##########
File path:
artemis-server/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/ReplicationLargeMessageEndMessage.java
##########
@@ -57,6 +64,7 @@ public void decodeRest(final ActiveMQBuffer buffer) {
if (buffer.readableBytes() >= DataConstants.SIZE_LONG) {
pendingRecordId = buffer.readLong();
}
+ isDelete = buffer.readBoolean();
Review comment:
can you check hasRemaining() on the buffer here, and return false by
default?
We intend to keep live and replica the same version, but users do weird
things... just in case please?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]