helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Francois Im (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HELIX-590) HelixAdmin API does not return status codes
Date Tue, 31 Mar 2015 02:18:53 GMT
Jean-Francois Im created HELIX-590:
--------------------------------------

             Summary: HelixAdmin API does not return status codes
                 Key: HELIX-590
                 URL: https://issues.apache.org/jira/browse/HELIX-590
             Project: Apache Helix
          Issue Type: Bug
            Reporter: Jean-Francois Im


Many of the HelixAdmin methods return void, even though the underlying ZK can fail. There
is no way through the HelixAdmin API to determine if a write failed due to having multiple
concurrent writers to the same ZK node.

For example, calling HelixAdmin.setResourceIdealState() internally calls accessor.setProperty,
which returns either true or false depending on whether or not the write was successful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message