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
             Fix For: 0.92.0


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.
-
You can reply to this email to add a comment to the issue online.

Reply via email to