Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New features of cluster scalability and multi-raft #3191

Merged
merged 69 commits into from Jun 27, 2021

Conversation

fanhualta
Copy link
Contributor

@fanhualta fanhualta commented May 14, 2021

This pr adds two new features:

  1. cluster scalability
  2. multi-raft

Design docs(currently only in Chinese):

  1. multi-raft: https://cwiki.apache.org/confluence/display/IOTDB/Multi-Raft-For-One-DataGroup+Design+Doc
  2. cluster scalability: https://cwiki.apache.org/confluence/display/IOTDB/Cluster+scalability+design+doc

OneSizeFitsQuorum and others added 30 commits December 11, 2020 19:49
2. The two-stage relative order problem of double logs is solved.
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
1. SlotPartitionTable serialization null pointer
2. AddNodeLog and RemoveNodeLog serialization issue
1. remove meta leader lead to new leader can not commit remove log until next meta log, which is fixed by empty content log
2. reorganized the logic of get member
3. meta leader should notify the target node to exile when removing
Copy link
Contributor

@OneSizeFitsQuorum OneSizeFitsQuorum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Stage 3.
BTW, it seems that there are some failed tests

1. remove uselss methods.
2. apply log when handling add/remove node in data group
@OneSizeFitsQuorum
Copy link
Contributor

My review has almost been completed. Next, please do two things:

@fanhualta fanhualta closed this Jun 6, 2021
@fanhualta fanhualta reopened this Jun 6, 2021
@fanhualta
Copy link
Contributor Author

Please add some user guide in https://github.com/apache/iotdb/tree/master/docs/zh/UserGuide/Cluster &&https://github.com/apache/iotdb/tree/master/docs/UserGuide/Cluster and add some examples for add/remove node operation

I have added docs already.

@OneSizeFitsQuorum
Copy link
Contributor

OneSizeFitsQuorum commented Jun 6, 2021

I have added docs already.

Nice~Please pay attention to the timeout CI and fix them

@sonarcloud
Copy link

sonarcloud bot commented Jun 27, 2021

@qiaojialin qiaojialin merged commit 00f2c30 into master Jun 27, 2021
@fanhualta fanhualta deleted the cluster_scalability branch June 27, 2021 14:30
@OneSizeFitsQuorum OneSizeFitsQuorum restored the cluster_scalability branch July 20, 2021 01:16
@HTHou HTHou deleted the cluster_scalability branch August 15, 2021 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Module - Cluster PRs for the cluster module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants