public static BlockBasedTableConfig getDefaultRocksDBTableConfig() {
        // See https://github.com/sofastack/sofa-jraft/pull/156
        return new BlockBasedTableConfig() //
            // Begin to use partitioned index filters
            // https://github.com/facebook/rocksdb/wiki/Partitioned-Index-Filters#how-to-use-it
            .setIndexType(IndexType.kTwoLevelIndexSearch) //
            .setFilterPolicy(new BloomFilter((double) 16, false)) //
            .setPartitionFilters(true) //
            .setMetadataBlockSize(8 * SizeUnit.KB) //
            .setCacheIndexAndFilterBlocks(false) //
            .setCacheIndexAndFilterBlocksWithHighPriority(true) //
            .setPinL0FilterAndIndexBlocksInCache(true) //
            // End of partitioned index filters settings.
            .setBlockSize(4 * SizeUnit.KB);
    }
Get a new default TableFormatConfig or a copy of the exist ableFormatConfig.

@param  groupId raft group id
@param cls the key of TableFormatConfig
@return new default TableFormatConfig or a copy of the exist TableFormatConfig
jraft-core/src/main/java/com/alipay/sofa/jraft/util/StorageOptionsFactory.java