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

Implement retry logic around starting exclusive backup operation

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

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1
    • backup&restore
    • None
    • Reviewed

    Description

      Specifically, the client does a checkAndPut to specifics coordinates in the backup table and throws an exception when that fails. Remember that backups are client driven (per some design review from a long time ago), so queuing is tough to reason about (we have no "centralized" execution system to use). At a glance, it seems pretty straightforward to add some retry/backoff semantics to BackupSystemTable#startBackupExclusiveOperation().

      While we are in a state in which backup operations cannot be executed in parallel, it would be nice to provide some retry logic + configuration. This would alleviate users from having to build this themselves.

      Attachments

        1. 19441-v5.patch
          35 kB
          Ted Yu
        2. 19441-v6.patch
          35 kB
          Ted Yu
        3. HBASE-19441-v1.patch
          4 kB
          Vladimir Rodionov
        4. HBASE-19441-v2.patch
          10 kB
          Vladimir Rodionov
        5. HBASE-19441-v3.patch
          35 kB
          Vladimir Rodionov
        6. HBASE-19441-v4.patch
          35 kB
          Vladimir Rodionov
        7. HBASE-19441-v5.patch
          35 kB
          Vladimir Rodionov

        Issue Links

        Activity

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

          People

            vrodionov Vladimir Rodionov
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment