albertogpz commented on a change in pull request #4928: URL: https://github.com/apache/geode/pull/4928#discussion_r421353611
########## File path: geode-core/src/main/java/org/apache/geode/internal/cache/wan/GatewaySenderEventImpl.java ########## @@ -692,6 +704,17 @@ public int getDSFID() { @Override public void toData(DataOutput out, SerializationContext context) throws IOException { + toDataPre_GEODE_1_13_0_0(out, context); + boolean hasTransaction = this.transactionId != null; + DataSerializer.writeBoolean(hasTransaction, out); + if (hasTransaction) { + DataSerializer.writeBoolean(this.isLastEventInTransaction, out); + context.getSerializer().writeObject(this.transactionId, out); + } + } + + public void toDataPre_GEODE_1_13_0_0(DataOutput out, Review comment: You are right, Mario. I guess I can't do that until version 1.13 is available as I would need the constant for 1.14. ---------------------------------------------------------------- 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: us...@infra.apache.org