You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/06/12 00:31:00 UTC

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

     [ https://issues.apache.org/jira/browse/HBASE-3137?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Kyle Purtell resolved HBASE-3137.
----------------------------------------
      Assignee:     (was: Liang Xie)
    Resolution: Incomplete

> 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
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.7#820007)