Github user eolivelli commented on a diff in the pull request:
https://github.com/apache/zookeeper/pull/622#discussion_r217689355
--- Diff:
src/java/main/org/apache/zookeeper/server/util/SerializeUtils.java ---
@@ -116,6 +120,10 @@ public static Record deserializeTxn(byte txnBytes[],
TxnHeader hdr)
create.setAcl(createv0.getAcl());
create.setEphemeral(createv0.getEphemeral());
create.setParentCVersion(-1);
+ } else if (hdr.getType() == OpCode.closeSession) {
+ // perhaps this is before CloseSessionTxn was added,
--- End diff --
That was my guess, but I just wanted a confirmation. Thanks
---