private byte[] getRVVBytes() throws IOException {
    InternalRegion region = (InternalRegion) getCache().getRegion(regionName);

    RegionVersionVector regionVersionVector = region.getVersionVector();
    regionVersionVector = regionVersionVector.getCloneForTransmission();
    HeapDataOutputStream outputStream = new HeapDataOutputStream(2048);

    // Using gemfire serialization because RegionVersionVector is not java serializable
    DataSerializer.writeObject(regionVersionVector, outputStream);
    return outputStream.toByteArray();
  }
Tests to make sure that after we get a conflicting persistent data exception, we can still
recover.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/persistence/PersistentRecoveryOrderDUnitTest.java