Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-7290 Online snapshots
  3. HBASE-7212

Globally Barriered Procedure mechanism

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-6055
    • 0.95.0
    • snapshots
    • None
    • Reviewed

    Description

      This is a simplified version of what was proposed in HBASE-6573. Instead of claiming to be a 2pc or 3pc implementation (which implies logging at each actor, and recovery operations) this is just provides a best effort global barrier mechanism called a Procedure.

      Users need only to implement a methods to acquireBarrier, to act when insideBarrier, and to releaseBarrier that use the ExternalException cooperative error checking mechanism.

      Globally consistent snapshots require the ability to quiesce writes to a set of region servers before a the snapshot operation is executed. Also if any node fails, it needs to be able to notify them so that they abort.

      The first cut of other online snapshots don't need the fully barrier but may still use this for its error propagation mechanisms.

      This version removes the extra layer incurred in the previous implementation due to the use of generics, separates the coordinator and members, and reduces the amount of inheritance used in favor of composition.

      Attachments

        1. 121127-global-barrier-proc.pdf
          439 kB
          Jonathan Hsieh
        2. pre-hbase-7212.patch
          923 kB
          Jonathan Hsieh
        3. hbase-7212.patch
          177 kB
          Jonathan Hsieh
        4. hbase-7212.v5.patch
          181 kB
          Jonathan Hsieh
        5. pre-hbase-7212.v5.patch
          1.11 MB
          Jonathan Hsieh
        6. hbase-7212.v8.patch
          175 kB
          Jonathan Hsieh
        7. pre-hbase-7212.v8.patch
          1.12 MB
          Jonathan Hsieh

        Issue Links

        Activity

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

          People

            jmhsieh Jonathan Hsieh
            jmhsieh Jonathan Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment