public void unlockRVVForBulkOp() {
    ARMLockTestHook testHook = getRegionMap().getARMLockTestHook();
    if (testHook != null) {
      testHook.beforeBulkRelease(this);
    }

    if (versionVector != null && getDataPolicy().withReplication()) {
      versionVector.releaseCacheModificationLock(this);
    }

    if (testHook != null) {
      testHook.afterBulkRelease(this);
    }
  }
putAll can be partially applied when a clear() occurs, leaving the cache in an
inconsistent state. Set the RVV to "cache op in progress" so clear() will block until the
putAll completes. This won't work for non-replicate regions though since they uses one-hop
during basicPutPart2 to get a valid version tag.
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java