You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ondrej Kvasnicka (Jira)" <ji...@apache.org> on 2019/11/06 12:24:00 UTC

[jira] [Created] (HBASE-23265) Coprocessor restart after region split rollback

Ondrej Kvasnicka created HBASE-23265:
----------------------------------------

             Summary: Coprocessor restart after region split rollback
                 Key: HBASE-23265
                 URL: https://issues.apache.org/jira/browse/HBASE-23265
             Project: HBase
          Issue Type: Improvement
          Components: Coprocessors
    Affects Versions: 1.1.2
            Reporter: Ondrej Kvasnicka


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|[https://lists.apache.org/thread.html/9b29afc5aa4994b67bc29a712cef276c7ff10d453f820050fdb760c8@%3Cuser.hbase.apache.org%3E]] 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|https://github.com/splicemachine/spliceengine/blob/aa9d66e3d33ea04d67203eb86b3e6e3ba768e267/hbase_pipeline/src/main/java/com/splicemachine/derby/hbase/SpliceIndexObserver.java#L206].



--
This message was sent by Atlassian Jira
(v8.3.4#803005)