You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/10/31 12:51:00 UTC

[jira] [Created] (HBASE-19132) Better align bypassable coprocessor methods so all have same pattern

stack created HBASE-19132:
-----------------------------

             Summary: Better align bypassable coprocessor methods so all have same pattern
                 Key: HBASE-19132
                 URL: https://issues.apache.org/jira/browse/HBASE-19132
             Project: HBase
          Issue Type: Bug
          Components: Coprocessors
            Reporter: stack


A coprocessor observer hook bypasses -- asks to skip normal processing and instead return a result conjured by the coprocessor -- by calling bypass on the passed in context. How the bypass is conveyed back to the executing code varies. Usually it is a boolean that the execution tests. But  it gets a little odd around Scan Coprocessors especially around next. In a few places we used to allow return of a null object to indicate bypass (flush, compact) but these were fixed by HBASE-19122.

This issue is about giving a general pass over bypass to unify how it done everywhere. I don't think we too bad now after HBASE-18770 but more cleanup to do (Probably an hbase-3 project).



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)