public Lock getPrimaryMoveReadLock() {
    return primaryMoveReadLock;
  }
Returns the lock that prevents the primary from moving while active writes are in progress.
This should be locked before checking if the local bucket is primary.

@return the lock for in-progress write operations
geode-core/src/main/java/org/apache/geode/internal/cache/BucketAdvisor.java