@Override
  protected boolean operateOnPartitionedRegion(ClusterDistributionManager dm,
      PartitionedRegion region, long startTime) throws ForceReattemptException {

    // this is executing in the WAITING_POOL_EXECUTOR

    try {
      region.getRedundancyProvider().endBucketCreationLocally(bucketId, newPrimary);

    } finally {
      region.getPrStats().endPartitionMessagesProcessing(startTime);
    }

    return false;

  }
Sends a message to make the recipient primary for the bucket.


@param newPrimary the member to to become primary
@param pr the PartitionedRegion of the bucket
@param bid the bucket to become primary for
geode-core/src/main/java/org/apache/geode/internal/cache/partitioned/EndBucketCreationMessage.java