[ https://issues.apache.org/jira/browse/ZOOKEEPER-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13483626#comment-13483626 ]
Marshall McMullen commented on ZOOKEEPER-1568: ---------------------------------------------- Yes, I meant 'cause' :). The existing multi code fills in a list of results for each op. Right now, it aborts on the first op that fails and rolls back the data tree to what it was before it started. And it explicitly marks all ops after that in the results list with a runtime exception. So the mechanism is already there to communicate the errors back to the client. So I suppose the Multi code would need to take a bool to indicate if it was all or nothing or not. > multi should have a non-transaction version > ------------------------------------------- > > Key: ZOOKEEPER-1568 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1568 > Project: ZooKeeper > Issue Type: Improvement > Reporter: Jimmy Xiang > > Currently multi is transactional, i.e. all or none. However, sometimes, we > don't want that. We want all operations to be executed. Even some > operation(s) fails, it is ok. We just need to know the result of each > operation. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira