docs: private void verifyPartitionStateVersion() {
          InternalPartitionService partitionService = getService();
          int localPartitionStateVersion = partitionService.getPartitionStateVersion();
          if (partitionStateVersion != localPartitionStateVersion) {
              if (getNodeEngine().getThisAddress().equals(migrationInfo.getMaster())) {
                  return;
              }
  
              // this is expected when cluster member list changes during migration
              throw new PartitionStateVersionMismatchException(partitionStateVersion, localPartitionStateVersion);
          }
      }