zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] hanm commented on a change in pull request #1059: [ZOOKEEPER-3512] Real time data consistency check during broadcast time
Date Thu, 12 Sep 2019 05:49:05 GMT
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_r321833697
 
 

 ##########
 File path: zookeeper-contrib/zookeeper-contrib-loggraph/src/main/java/org/apache/zookeeper/graph/TxnLogSource.java
 ##########
 @@ -327,8 +329,9 @@ public TxnLogSource(String file) throws IOException {
 		if (logStream.readByte("EOR") != 'B') {
 		    throw new EOFException("Last transaction was partial.");
 		}
-		TxnHeader hdr = new TxnHeader();
-		Record r = SerializeUtils.deserializeTxn(bytes, hdr);
+    TxnLogEntry logEntry = SerializeUtils.deserializeTxn(bytes);
 
 Review comment:
   nit: indentation 

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message