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

Better align bypassable coprocessor methods so all have same pattern

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Coprocessors
    • Labels:
      None

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              stack Michael Stack
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: