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;
|
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
|
@Override
|
||||||
public void preGetClosestRowBefore(final ObserverContext<RegionCoprocessorEnvironment> c,
|
public void preGetClosestRowBefore(final ObserverContext<RegionCoprocessorEnvironment> c,
|
||||||
final byte [] row, final byte [] family, final Result result)
|
final byte [] row, final byte [] family, final Result result)
|
||||||
|
|
Loading…
Reference in New Issue