HBASE-11363 Access checks in preCompact and preCompactSelection are out of sync
This commit is contained in:
parent
92179b8afe
commit
b26fb383cf
|
@ -1313,12 +1313,6 @@ public class AccessController extends BaseRegionObserver
|
|||
return scanner;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void preCompactSelection(final ObserverContext<RegionCoprocessorEnvironment> e,
|
||||
final Store store, final List<StoreFile> candidates) throws IOException {
|
||||
requirePermission("compact", getTableName(e.getEnvironment()), null, null, Action.ADMIN);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void preGetClosestRowBefore(final ObserverContext<RegionCoprocessorEnvironment> c,
|
||||
final byte [] row, final byte [] family, final Result result)
|
||||
|
|
Loading…
Reference in New Issue