code: public void setInitialState(PartitionTableView partitionTable) {
          lock.lock();
          try {
              partitionStateManager.setInitialState(partitionTable);
          } finally {
              lock.unlock();
          }
      }
docs: Sets the initial partition table and state version. If any partition has a replica, the partition state manager is
  set to initialized, otherwise {@link #partitionStateManager#isInitialized()} stays uninitialized but the current state
  will be updated nevertheless.
  This method acquires the partition service lock.
  
  @param partitionTable the initial partition table
  @throws IllegalStateException if the partition manager has already been initialized