Region<Object, Object> createRegion() {
    RegionFactory<Object, Object> regionFactory =
        cache.createRegionFactory(RegionShortcut.PARTITION_PERSISTENT);
    regionFactory.setDataPolicy(DataPolicy.PERSISTENT_PARTITION);
    regionFactory.setDiskStoreName(diskStoreName);
    regionFactory.setDiskSynchronous(true);
    return regionFactory.create(regionName);
  }
Verifies that compaction works as expected after region is recovered
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegionCompactorClearOplogAfterRecoveryIntegrationTest.java