docs: public PartitionRuntimeState createPartitionStateInternal() {
          lock.lock();
          try {
              if (!partitionStateManager.isInitialized()) {
                  return null;
              }
  
              List<MigrationInfo> completedMigrations = migrationManager.getCompletedMigrationsCopy();
              InternalPartition[] partitions = partitionStateManager.getPartitions();
  
              PartitionRuntimeState state = new PartitionRuntimeState(partitions, completedMigrations, getPartitionStateVersion());
              state.setActiveMigration(migrationManager.getActiveMigration());
              return state;
          } finally {
              lock.unlock();
          }
      }