You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Gray (JIRA)" <ji...@apache.org> on 2010/10/21 02:33:23 UTC

[jira] Created: (HBASE-3137) Optimize CAS operations in ZKAssign by being optimistic rather than always doing a sync()

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.