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/21 08:25:54 UTC
[GitHub] [iotdb] imquanke opened a new pull request, #6744: [IOTDB-3593] Broadcast latest ConfigNodeGroup
imquanke opened a new pull request, #6744:
URL: https://github.com/apache/iotdb/pull/6744
## We need to notify all DataNodes when the capacity of the ConfigNodeGroup is expanded or reduced.
### test results on condition: three configNodes, three dataNodes
* one configNode and three dataNodes

* add another one configNode
logs on the first configNode

logs on the new configNode

logs on dataNode

query result on cli

* add another one configNode
* kill the first configNode
logs on the newly elected leader configNode

query result on cli

--
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
[GitHub] [iotdb] imquanke commented on a diff in pull request #6744: [IOTDB-3593] Broadcast latest ConfigNodeGroup
Posted by GitBox <gi...@apache.org>.
imquanke commented on code in PR #6744:
URL: https://github.com/apache/iotdb/pull/6744#discussion_r927253443
##########
confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/RemoveConfigNodeProcedure.java:
##########
@@ -76,6 +76,7 @@ protected Flow executeFromState(ConfigNodeProcedureEnv env, RemoveConfigNodeStat
break;
case STOP_CONFIG_NODE:
env.stopConfigNode(tConfigNodeLocation);
+ env.broadCastTheLatestConfigNodeGroup();
Review Comment:
done
--
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
[GitHub] [iotdb] wangchao316 commented on a diff in pull request #6744: [IOTDB-3593] Broadcast latest ConfigNodeGroup
Posted by GitBox <gi...@apache.org>.
wangchao316 commented on code in PR #6744:
URL: https://github.com/apache/iotdb/pull/6744#discussion_r927239315
##########
confignode/src/main/java/org/apache/iotdb/confignode/procedure/impl/RemoveConfigNodeProcedure.java:
##########
@@ -76,6 +76,7 @@ protected Flow executeFromState(ConfigNodeProcedureEnv env, RemoveConfigNodeStat
break;
case STOP_CONFIG_NODE:
env.stopConfigNode(tConfigNodeLocation);
+ env.broadCastTheLatestConfigNodeGroup();
Review Comment:
I feel broadCastTheLatestConfigNodeGroup should move REMOVE_CONFIG_NODE_PREPARE
--
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
[GitHub] [iotdb] wangchao316 merged pull request #6744: [IOTDB-3593] Broadcast latest ConfigNodeGroup
Posted by GitBox <gi...@apache.org>.
wangchao316 merged PR #6744:
URL: https://github.com/apache/iotdb/pull/6744
--
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