[ https://issues.apache.org/jira/browse/HBASE-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
liang xie reassigned HBASE-3137: -------------------------------- Assignee: liang xie > Optimize CAS operations in ZKAssign by being optimistic rather than always > doing a sync() > ----------------------------------------------------------------------------------------- > > Key: HBASE-3137 > URL: https://issues.apache.org/jira/browse/HBASE-3137 > Project: HBase > Issue Type: Improvement > Components: Zookeeper > Reporter: Jonathan Gray > Assignee: liang xie > > HBASE-3136 introduces a fix to the CAS operations in ZKAssign by doing a call > to ZK sync() before doing the operation. > This gives correct behavior but requires doing a sync every time, even if it > isn't necessary. Instead, we should be optimistic and only do > retries/syncing if necessary. -- 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