private void createRegions() {
    Cache cache = getCache();
    {
      PartitionAttributes attributes = new PartitionAttributesFactory<>()
          .setRedundantCopies(1)
          .setTotalNumBuckets(NUM_BUCKETS)
          .create();

      cache.createRegionFactory(RegionShortcut.PARTITION_REDUNDANT)
          .setStatisticsEnabled(true)
          .setPartitionAttributes(attributes)
          .create(BASE);
    }

    PartitionAttributes attributes = new PartitionAttributesFactory<>()
        .setColocatedWith(BASE)
        .setRedundantCopies(1)
        .setTotalNumBuckets(NUM_BUCKETS)
        .create();

    cache.createRegionFactory(RegionShortcut.PARTITION_REDUNDANT)
        .setStatisticsEnabled(true)
        .setPartitionAttributes(attributes)
        .create(COLOCATED);
  }
This is a regression test for GEODE-6767 that we can still rebalance after altering certain
partitioned region attributes.

Altering the region attributes changes metadata in the __PR region. If that metadata is
corrupted, rebalance may end up reducing redundancy due to the fact that
isColocationComplete=false
in the metadata.
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/partitioned/PartitionedRegionAttributesMutatorDUnitTest.java