You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by yo...@apache.org on 2023/06/20 03:59:59 UTC
[iotdb] branch Add-leader-switch-log created (now 140b00444f7)
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a change to branch Add-leader-switch-log
in repository https://gitbox.apache.org/repos/asf/iotdb.git
at 140b00444f7 Finish
This branch includes the following new commits:
new 140b00444f7 Finish
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[iotdb] 01/01: Finish
Posted by yo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
yongzao pushed a commit to branch Add-leader-switch-log
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 140b00444f7a4e992e05b79beb5674729dfa8d30
Author: YongzaoDan <53...@qq.com>
AuthorDate: Tue Jun 20 11:59:51 2023 +0800
Finish
---
.../iotdb/confignode/manager/load/service/StatisticsService.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/service/StatisticsService.java b/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/service/StatisticsService.java
index 94c6c724e6d..ae03794512e 100644
--- a/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/service/StatisticsService.java
+++ b/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/service/StatisticsService.java
@@ -216,8 +216,9 @@ public class StatisticsService implements IClusterStatusSubscriber {
for (Map.Entry<TConsensusGroupId, Pair<Integer, Integer>> regionLeaderEntry :
leaderMap.entrySet()) {
LOGGER.info(
- "[RegionLeader]\t {}={}",
+ "[RegionLeader]\t {}: from{}=to{}",
regionLeaderEntry.getKey(),
+ regionLeaderEntry.getValue().getLeft(),
regionLeaderEntry.getValue().getRight());
}
}