void clearDrainList(LocalRegion r, RegionVersionVector rvv) {
    synchronized (getDrainSync()) {
      if (drainList == null) {
        return;
      }
      for (final Object o : drainList) {
        if (o instanceof AsyncDiskEntry) {
          AsyncDiskEntry ade = (AsyncDiskEntry) o;
          if (shouldClear(r, rvv, ade) && ade.de != null) {
            unsetPendingAsync(ade);
          }
        }
      }
    }
  }
To fix bug 41770 clear the list in a way that will not break a concurrent iterator that is not
synced on drainSync. Only clear from it entries on the given region. Currently we do this by
clearing the isPendingAsync bit on each entry in this list.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskStoreImpl.java