Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-3137

Optimize CAS operations in ZKAssign by being optimistic rather than always doing a sync()

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • Zookeeper
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            streamy Jonathan Gray
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment