@Override public InternalScanner preFlush( final ObserverContext<RegionCoprocessorEnvironment> e, final Store store, final InternalScanner scanner) throws IOException { if (opStore == null) { return super.preFlush(e, store, scanner); } return super.preFlush( e, store, wrapScannerWithOps( e.getEnvironment().getRegionInfo().getTable(), scanner, null, ServerOpScope.MINOR_COMPACTION, INTERNAL_SCANNER_FACTORY)); }