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

Coprocessor restart after region split rollback

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.1.2
    • Fix Version/s: None
    • Component/s: Coprocessors
    • Labels:
      None

      Description

      According to our observation, a running coprocessor that is automatically stopped prior to region split will not be automatically restarted for the region that was about to be split in case the split attempt is rolled back.

      The expected behavior would be for the coprocessor to be automatically restarted in such situation.

      According to this conversation the lack of the automatic restart looks more like an omission rather than an intended behavior.

      A possible work-around seems to be handling the restart explicitly in RegionObserver#postRollBackSplit() implementation, such as in this example.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              okvasnicka Ondrej Kvasnicka
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: