private RaftClientReply writeRemotelyWithRetry(
      RatisClient client, Message message, RaftGroupId groupId) throws IOException {
    return writeWithRetry(() -> client.getRaftClient().io().send(message), groupId);
  }
Launch a consensus write with retry mechanism
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/RatisConsensus.java