@Override
  RegionEntry basicPutEntry(final EntryEventImpl event, final long lastModified)
      throws TimeoutException, CacheWriterException {
    boolean locked = lockKeysAndPrimary(event);
    try {
      if (getPartitionedRegion().isParallelWanEnabled()) {
        handleWANEvent(event);
      }
      event.setInvokePRCallbacks(true);
      forceSerialized(event);
      return super.basicPutEntry(event, lastModified);
    } finally {
      if (locked) {
        releaseLockForKeysAndPrimary(event);
      }
    }
  }
This method is called when a miss from a get ends up finding an object through a cache loader
or from a server. In that case we want to make sure that we don't move this bucket while
putting the value in the ache.

@see LocalRegion#basicPutEntry(EntryEventImpl, long)
geode-core/src/main/java/org/apache/geode/internal/cache/BucketRegion.java