public static RaftGroupId fromConsensusGroupIdToRaftGroupId(ConsensusGroupId consensusGroupId) {
    try {
      return cache.get(consensusGroupId, () -> valueOf(consensusGroupId));
    } catch (ExecutionException e) {
      return valueOf(consensusGroupId);
    }
  }
Given ConsensusGroupId, generate a deterministic RaftGroupId current scheme.
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/utils/Utils.java