public void checkVersionIsRecorded(VersionTag tag, LocalRegion r) {
      if (tag != null && !tag.isRecorded()) { // oops - someone forgot to record the event
        if (r != null) {
          RegionVersionVector v = r.getVersionVector();
          if (v != null) {
            VersionSource mbr = tag.getMemberID();
            if (mbr == null) {
              mbr = getSender();
            }
            if (logger.isTraceEnabled()) {
              logger.trace(
                  "recording version tag in RVV in basicProcess since it wasn't done earlier");
            }
            v.recordVersion(mbr, tag);
          }
        }
      }
    }
Ensure that a version tag has been recorded in the region's version vector. This makes note
that the event has been received and processed but probably didn't affect the cache's state
or it would have been recorded earlier.

@param tag the version information
@param r the affected region
geode-core/src/main/java/org/apache/geode/internal/cache/DistributedCacheOperation.java