apache / iotdb

Apache IoTDB
https://iotdb.apache.org/
Apache License 2.0
5.53k stars 998 forks source link

Refactor the Server Command-Lines for Config-Node, Data-Node and the upcoming AI-Node #13171

Open chrisdutz opened 1 month ago

chrisdutz commented 1 month ago

Currently the server CLI implementation of the existing nodes lacks clarity and needs a major cleaning up.

The syntax of the commandline issues will change to the follwing format:

{NodeCli} <options> <command>

The commands will be:

The options will be:

To be discussed:

OneSizeFitsQuorum commented 1 month ago

Should it be possible to remove multiple nodes, by passing in a list of ids?

+1 for removing one node per operation

Should it be possible to remove the current node, by omitting the nodeId parameter?

+1 for doing this