HBASE-25504 [branch-2.4] Restore method removed by HBASE-25277 to LP(CONFIG) coprocessors
Restore removed method overrides for AccessController and VisibilityController, which are both LimitedPrivate(CONFIG) interfaces and per compatibility guidelines cannot have methods removed in patch releases. Signed-off-by: Andrew Purtell <apurtell@apache.org>
This commit is contained in:
parent
6125d4ef84
commit
645b564310
|
@ -1852,6 +1852,14 @@ public class AccessController implements MasterCoprocessor, RegionCoprocessor,
|
|||
scannerOwners.remove(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated // Removed in later versions by HBASE-25277
|
||||
public boolean postScannerFilterRow(final ObserverContext<RegionCoprocessorEnvironment> e,
|
||||
final InternalScanner s, final Cell curRowCell, final boolean hasMore) throws IOException {
|
||||
// 'default' in RegionObserver might do unnecessary copy for Off heap backed Cells.
|
||||
return hasMore;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify, when servicing an RPC, that the caller is the scanner owner.
|
||||
* If so, we assume that access control is correctly enforced based on
|
||||
|
|
|
@ -568,6 +568,14 @@ public class VisibilityController implements MasterCoprocessor, RegionCoprocesso
|
|||
scannerOwners.remove(s);
|
||||
}
|
||||
|
||||
@Override
|
||||
@Deprecated // Removed in later versions by HBASE-25277
|
||||
public boolean postScannerFilterRow(final ObserverContext<RegionCoprocessorEnvironment> e,
|
||||
final InternalScanner s, final Cell curRowCell, final boolean hasMore) throws IOException {
|
||||
// 'default' in RegionObserver might do unnecessary copy for Off heap backed Cells.
|
||||
return hasMore;
|
||||
}
|
||||
|
||||
/**
|
||||
* Verify, when servicing an RPC, that the caller is the scanner owner. If so, we assume that
|
||||
* access control is correctly enforced based on the checks performed in preScannerOpen()
|
||||
|
|
Loading…
Reference in New Issue