docs: void setInitialState(PartitionTableView partitionTable) {
          if (initialized) {
              throw new IllegalStateException("Partition table is already initialized!");
          }
          logger.info("Setting cluster partition table...");
          boolean foundReplica = false;
          PartitionReplica localReplica = PartitionReplica.from(node.getLocalMember());
          for (int partitionId = 0; partitionId < partitionCount; partitionId++) {
              InternalPartitionImpl partition = partitions[partitionId];
              PartitionReplica[] replicas = partitionTable.getReplicas(partitionId);
              if (!foundReplica && replicas != null) {
                  for (int i = 0; i < InternalPartition.MAX_REPLICA_COUNT; i++) {
                      foundReplica |= replicas[i] != null;
                  }
              }
              partition.reset(localReplica);
              partition.setInitialReplicas(replicas);
          }
          stateVersion.set(partitionTable.getVersion());
          if (foundReplica) {
              setInitialized();
          }
      }