hanm commented on a change in pull request #1059: [ZOOKEEPER-3512] Real time 
data consistency check during broadcast time
URL: https://github.com/apache/zookeeper/pull/1059#discussion_r321833021
 
 

 ##########
 File path: 
zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/TxnLogSource.java
 ##########
 @@ -180,8 +180,10 @@ private LogEntry readNextEntry() {
                    throw new IOException("CRC doesn't match " + crcValue +
                                          " vs " + crc.getValue());
                }
-               TxnHeader hdr = new TxnHeader();
-               Record r = SerializeUtils.deserializeTxn(bytes, hdr);
+
+    TxnLogEntry logEntry = SerializeUtils.deserializeTxn(bytes);
 
 Review comment:
   nit: indentation here looks way off.

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


With regards,
Apache Git Services

Reply via email to