This is an automated email from the ASF dual-hosted git repository.
lta pushed a change to branch cluster_scalability
in repository https://gitbox.apache.org/repos/asf/iotdb.git.
from 124190c merge master
new 4609bc0 This pr fix following bugs: 1. LogPlan serialize and
deserialize bug 2. add shell scripts to remove nodes 3. enrich the function of
node tool 4. fix some bugs of adding new nodes
new d84f0ff This commit fix following issues: 1. SlotPartitionTable
serialization null pointer 2. AddNodeLog and RemoveNodeLog serialization issue
The 2 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.
Summary of changes:
cluster/src/assembly/resources/sbin/add-node.bat | 2 +-
cluster/src/assembly/resources/sbin/add-node.sh | 2 +-
.../sbin/{start-node.bat => remove-node.bat} | 16 +--
.../sbin/{start-node.sh => remove-node.sh} | 16 +--
cluster/src/assembly/resources/sbin/start-node.bat | 2 +-
.../java/org/apache/iotdb/cluster/ClusterMain.java | 11 +-
.../iotdb/cluster/log/logtypes/AddNodeLog.java | 5 +-
.../iotdb/cluster/log/logtypes/RemoveNodeLog.java | 5 +-
.../iotdb/cluster/log/manage/RaftLogManager.java | 3 +
.../iotdb/cluster/partition/NodeRemovalResult.java | 6 +-
.../iotdb/cluster/partition/PartitionGroup.java | 14 ++-
.../partition/balancer/DefaultSlotBalancer.java | 2 +
.../partition/slot/SlotNodeRemovalResult.java | 9 +-
.../cluster/partition/slot/SlotPartitionTable.java | 28 +++--
.../iotdb/cluster/query/ClusterPlanRouter.java | 2 +-
.../iotdb/cluster/server/DataClusterServer.java | 2 +-
.../org/apache/iotdb/cluster/server/Response.java | 2 +
.../server/handlers/caller/NodeStatusHandler.java | 9 +-
.../cluster/server/member/DataGroupMember.java | 3 +
.../cluster/server/member/MetaGroupMember.java | 140 ++++++++++++---------
.../iotdb/cluster/server/member/RaftMember.java | 1 -
.../cluster/utils/nodetool/ClusterMonitor.java | 2 +-
.../utils/nodetool/ClusterMonitorMBean.java | 4 +-
.../cluster/utils/nodetool/function/Host.java | 2 +-
.../cluster/utils/nodetool/function/Status.java | 24 +++-
.../apache/iotdb/cluster/log/LogParserTest.java | 14 +++
.../iotdb/cluster/utils/SerializeUtilTest.java | 18 +++
.../apache/iotdb/db/qp/physical/sys/LogPlan.java | 11 +-
28 files changed, 221 insertions(+), 134 deletions(-)
copy cluster/src/assembly/resources/sbin/{start-node.bat => remove-node.bat}
(91%)
copy cluster/src/assembly/resources/sbin/{start-node.sh => remove-node.sh}
(86%)