SzyWilliam commented on code in PR #11615:
URL: https://github.com/apache/iotdb/pull/11615#discussion_r1407870691
##########
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/utils/Utils.java:
##########
@@ -57,6 +60,8 @@ public class Utils {
private static final String DATA_REGION_GROUP = "group-0001";
private static final String SCHEMA_REGION_GROUP = "group-0002";
private static final CommonConfig config =
CommonDescriptor.getInstance().getConfig();
+ private static final Cache<ConsensusGroupId, RaftGroupId> cache =
+ CacheBuilder.newBuilder().weakValues().build();
Review Comment:
Captain, oh my captain!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]