anmolnar commented on a change in pull request #839: ZOOKEEPER-3290: Throw 
detailed KeeperException when a transaction failed
URL: https://github.com/apache/zookeeper/pull/839#discussion_r279341521
 
 

 ##########
 File path: 
zookeeper-server/src/main/java/org/apache/zookeeper/server/DataTree.java
 ##########
 @@ -946,7 +947,7 @@ public ProcessTxnResult processTxn(TxnHeader header, 
Record txn, boolean isSubTx
                                                  : Code.OK.intValue();
 
                             subtxn.setType(OpCode.error);
-                            record = new ErrorTxn(ec);
+                            record = new ErrorTxn(ec, "");
 
 Review comment:
   You're right. Sorry I mixed it with `ErrorResult`.

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


With regards,
Apache Git Services

Reply via email to