You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/07/27 08:25:43 UTC
[GitHub] [iotdb] CRZbulabula commented on a diff in pull request #6777: [IOTDB-3947] LeaderPolicy can't broadcast when a DataNode down
CRZbulabula commented on code in PR #6777:
URL: https://github.com/apache/iotdb/pull/6777#discussion_r930768548
##########
confignode/src/main/java/org/apache/iotdb/confignode/manager/load/heartbeat/RegionGroupCache.java:
##########
@@ -26,18 +31,25 @@
public class RegionGroupCache implements IRegionGroupCache {
+ private static final Logger LOGGER = LoggerFactory.getLogger(RegionGroupCache.class);
+
// TODO: This class might be split into SchemaRegionGroupCache and DataRegionGroupCache
private static final int maximumWindowSize = 100;
// Map<DataNodeId(where a RegionReplica resides), LinkedList<RegionHeartbeatSample>>
+
+ private final TConsensusGroupId consensusGroupId;
Review Comment:
Yes,but it's used to identify itself, and we could use it in the future~
--
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-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org