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

    DiskStoreFactory diskStoreFactory = toDiskStoreFactory(diskRegionProperties);

    createDiskStoreWithSizeInBytes(diskStoreName, diskStoreFactory);

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

    CacheServer cacheServer = cache.addCacheServer();
    cacheServer.setPort(0);
    cacheServer.start();

    region.create("key1", new byte[16]);
    region.create("key2", new byte[16]);

    closeOplogFileChannel(region);

    Throwable thrown = catchThrowable(() -> region.put("key2", new byte[16]));
    assertThat(thrown).isInstanceOf(DiskAccessException.class);

    verifyClosedDueToDiskAccessException(region);

    // a disk access exception in a server should always stop the server
    List<CacheServer> cacheServers = cache.getCacheServers();
    assertThat(cacheServers).isEmpty();
  }
If IOException occurs while updating an entry in an already initialized DiskRegion ,then the
cache servers should not be stopped , if any running as they are no clients connected to it.
geode-core/src/integrationTest/java/org/apache/geode/internal/cache/DiskRegionJUnitTest.java