}
@Override
public InternalScanner preCompact(ObserverContext<RegionCoprocessorEnvironment> e, Store store,
InternalScanner scanner, ScanType type, CompactionRequest request) throws IOException {
TransactionSnapshot snapshot = cache.getLatestState();
if (snapshot != null) {
return createDataJanitorRegionScanner(e, store, scanner, snapshot);
}
//if (LOG.isDebugEnabled()) {
LOG.info("Region " + e.getEnvironment().getRegion().getRegionNameAsString() +