zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] anmolnar commented on a change in pull request #839: ZOOKEEPER-3290: Throw detailed KeeperException when a transaction failed
Date Fri, 26 Apr 2019 15:45:41 GMT
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_r279002163
 
 

 ##########
 File path: zookeeper-server/src/main/java/org/apache/zookeeper/server/PrepRequestProcessor.java
 ##########
 @@ -795,7 +795,7 @@ protected void pRequest(Request request) throws RequestProcessorException
{
                      */
                     if (ke != null) {
                         type = OpCode.error;
-                        txn = new ErrorTxn(Code.RUNTIMEINCONSISTENCY.intValue());
+                        txn = new ErrorTxn(Code.RUNTIMEINCONSISTENCY.intValue(), "");
 
 Review comment:
   Same here.

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