SzyWilliam commented on code in PR #12463: URL: https://github.com/apache/iotdb/pull/12463#discussion_r1590466842
########## iotdb-core/datanode/src/main/java/org/apache/iotdb/db/consensus/SchemaRegionConsensusImpl.java: ########## @@ -46,6 +47,10 @@ private SchemaRegionConsensusImpl() { // do nothing } + public static boolean isRatis() { + return SchemaRegionConsensusImplHolder.CONF.getSchemaRegionConsensusProtocolClass().equals(ConsensusFactory.RATIS_CONSENSUS); Review Comment: Dan man you can really write good code bro m3? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@iotdb.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org