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

Adding new hooks to the split flow - For roll backs and one final hook after split is completed either successfully or failed

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.95.0
    • Coprocessors
    • Reviewed

    Description

      Currently we have two hooks in the split flow of a region. PreSplit() and postSplit(). But not always these are helpful in case i have a problem in preSplit() or postSplit() i need to do a rollback of the current region or the region that i am handling thro the hooks.

      So its better if we have a hook in the rollback code and also one final hook say postCompleteSplit() so that CP can take any corrective action.
      Pls do suggest if i can provide a patch for this.

      Attachments

        1. HBASE-6633.patch
          15 kB
          ramkrishna.s.vasudevan

        Activity

          People

            ram_krish ramkrishna.s.vasudevan
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: