hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-19132) Better align bypassable coprocessor methods so all have same pattern
Date Tue, 31 Oct 2017 12:51:00 GMT
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)

Mime
View raw message