public void dumpEntries(final boolean validateOnly) {
    if (logger.isDebugEnabled()) {
      logger.debug("[dumpEntries] dumping {}", this);
    }
    final StringBuilder buf;
    if (validateOnly) {
      buf = null;

      // If we're doing a validation, make sure the region is initialized
      // before insisting that its metadata be correct :-)
      partitionedRegion.waitForData();
    } else {
      dumpBackingMaps();
    }
  }
<i>Test Method</i> Dump all the entries in all the buckets to the logger, validate that the
bucket-to-node meta region contains all bhe buckets managed by this data store

@param validateOnly only perform bucket-to-node validation
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java