public void dumpAllBuckets(boolean distribute) throws ReplyException {
    if (logger.isDebugEnabled()) {
      logger.debug("[dumpAllBuckets] distribute={} {}", distribute, this);
    }
    getRegionAdvisor().dumpProfiles("dumpAllBuckets");
    if (distribute) {
      PartitionResponse response = DumpBucketsMessage.send(getRegionAdvisor().adviseAllPRNodes(),
          this, false /* only validate */, false);
      response.waitForRepliesUninterruptibly();
    }
    if (dataStore != null) {
      dataStore.dumpEntries(false /* onlyValidate */);
    }
  }
Send a message to all PartitionedRegion participants, telling each member of the
PartitionedRegion with a datastore to dump the contents of the buckets to the system.log and
validate that the meta-data for buckets agrees with the data store's perspective

@param distribute true will distributed a DumpBucketsMessage to PR nodes
@see #validateAllBuckets()
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java