private void writeRVVRecord(OplogFile olf, Map<Long, AbstractDiskRegion> diskRegions,
      boolean writeGCRVV) throws IOException {
    opState = new OpState();
    opState.initialize(diskRegions, writeGCRVV);
    writeOpLogBytes(olf, false, true); // fix for bug 41928
    olf.currSize += getOpStateSize();
    dirHolder.incrementTotalOplogSize(getOpStateSize());
  }
Write the RVV record for the given regions.

@param olf the oplog to write to
@param diskRegions the set of disk regions we should write the RVV of
@param writeGCRVV true to write write the GC RVV
geode-core/src/main/java/org/apache/geode/internal/cache/Oplog.java