private void validateDiskRegionInitializationStats(boolean localRecovery) {
    InternalRegion region = (InternalRegion) getCache().getRegion(regionName);
    DiskRegionStats diskRegionStats = region.getDiskRegion().getStats();

    if (localRecovery) {
      assertThat(diskRegionStats.getLocalInitializations()).isEqualTo(1);
      assertThat(diskRegionStats.getRemoteInitializations()).isEqualTo(0);
    } else {
      assertThat(diskRegionStats.getLocalInitializations()).isEqualTo(0);
      assertThat(diskRegionStats.getRemoteInitializations()).isEqualTo(1);
    }
  }
Tests to make sure that after we get a conflicting persistent data exception, we can still
recover.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/persistence/PersistentRecoveryOrderDUnitTest.java