private InternalDistributedMember waitForNewPrimary() {
    DistributionManager dm = regionAdvisor.getDistributionManager();
    DistributionConfig config = dm.getConfig();
    // failure detection period
    long timeout = config.getMemberTimeout() * 3L;
    // plus time for a new member to become primary
    timeout += Long.getLong(GeodeGlossary.GEMFIRE_PREFIX + "BucketAdvisor.getPrimaryTimeout",
        15000L);
    return waitForPrimaryMember(timeout);
  }
This method was split out from getPrimary() due to bug #40639 and is only intended to be called
from within that method.

@see #getPrimary()
@return the new primary
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java