Mark Flickinger created ZOOKEEPER-2267:
------------------------------------------
Summary: zoo_amulti doesn't correctly return ZINVALIDSTATE errors
Key: ZOOKEEPER-2267
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2267
Project: ZooKeeper
Issue Type: Improvement
Components: c client
Affects Versions: 3.4.0
Reporter: Mark Flickinger
Priority: Minor
zoo_amulti will always return ZMARSHALLINGERROR whenever the zhandle is in an
unrecoverable state. ZINVALIDSTATE should probably be returned in these
situations.
Preferably the return code from the relevant error should be returned as is. At
the very least it would be nice if zoo_amulti first checked is_unrecoverable,
the way zoo_awget does. It seems the other async functions are implicitly doing
this in the *Request_init calls.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)