@Test
  public void testEntryCreateInSyncPersistOverflowForIOExceptionCase() throws Exception {
    DiskRegionProperties diskRegionProperties = new DiskRegionProperties();
    diskRegionProperties.setRegionName(regionName);
    diskRegionProperties.setOverflow(true);
    diskRegionProperties.setRolling(false);
    diskRegionProperties.setDiskDirs(diskDirs);
    diskRegionProperties.setPersistBackup(true);

    DiskStoreFactory diskStoreFactory = toDiskStoreFactory(diskRegionProperties);

    createDiskStoreWithSizeInBytes(diskStoreName, diskStoreFactory);

    Region<String, String> region =
        createRegion(regionName, diskStoreName, true, true, false, true, DEFAULT_ENTRIES_MAXIMUM);

    closeOplogFileChannel(region);

    Throwable thrown = catchThrowable(() -> region.create("key1", "value1"));
    assertThat(thrown).isInstanceOf(DiskAccessException.class);

    verifyClosedDueToDiskAccessException(region);
  }
If IOException occurs while creating an entry in a persist overflow sync mode,
DiskAccessException should occur & region should be destroyed
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegionJUnitTest.java