private void destroyPartiallyInitializedRegion(final LocalRegion region) {
    if (isBucket() && !wasAboutToDestroy()) {
      /*
       * For bucket regions, we only destroy data storage for the following reason:
       * The ProxyBucketRegion and DiskInitFile will hold a reference to the same AbstractDiskRegion
       * object. If we do a full region destroy, it will result in the proxy and init file
       * referencing different objects. This can lead to a memory leak because disk compaction will
       * use the init file's version which may not have all changes from the in-memory version. A
       * partial destroy ensures that the ProxyBucketRegion and DiskInitFile continue to share the
       * same AbstractDiskRegion reference, which prevents this memory leak.
       *
       * Because we only destroy data storage, the persistence view will be maintained (disk ID will
       * be non-null) but all data and initializing/initialized persistent IDs will be deleted.
       */
      beginDestroyDataStorage();
    }
    endDestroy(region);
  }
Record current RVV to disk and update into disk region RVV.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskRegion.java