[
https://issues.apache.org/jira/browse/ZOOKEEPER-1272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139676#comment-13139676
]
Marshall McMullen commented on ZOOKEEPER-1272:
----------------------------------------------
I'll need to take some time to look at the code in question... hopefully later
tonight and then i'll get back to you.
> ZooKeeper.multi() could violate API if server misbehaves
> --------------------------------------------------------
>
> Key: ZOOKEEPER-1272
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1272
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Thomas Koch
> Assignee: Thomas Koch
> Priority: Minor
>
> The client API method Zookeeper.multi() promisses, that the KeeperException
> it throws in case of one of the multi ops failing, contains a list of
> individual results.
> The method ZooKeeper.multiInternal() however throws a Keeperexception if the
> returned response header has an error code != 0. This should actually never
> happen if the server does not misbehave since the error code of a multi
> response is always zero, but I managed to trigger this code path with my
> refactorings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira