public static IConsensus getInstance() {
    return DataRegionConsensusImplHolder.INSTANCE;
  }
We can use DataRegionConsensusImpl.getInstance() to obtain a consensus layer reference for
dataRegion's reading and writing
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/consensus/DataRegionConsensusImpl.java