MiniClusterFactory setGid(ConsensusGroupId gid) {
      this.gid = gid;
      return this;
    }
A Mini Raft CLuster Wrapper for Test Env.
iotdb-core/consensus/src/test/java/org/apache/iotdb/consensus/ratis/TestUtils.java