public void reloadConsensusConfig(IoTConsensusConfig config) {
    this.config = config;
  }
This method is used for hot reload of IoTConsensusConfig.
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/iot/IoTConsensusServerImpl.java