Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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).