Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.14.0-SNAPSHOT
-
None
-
2022-11-Cluster
Description
error would occurs when starting datanode 2 times and all nodes seems normal with show cluster
reproduction:
- start a 3C3D iotdb cluster successfully
- run start-datanode.sh on 1 node without stopping it
actual result:
- show cluster shows all confignode and datanode is running
- but error occurs when create timeseries
建议:
- 在start-confignode.sh 和 start-datanode.sh 脚本中,应该先判断是否已经有启动的服务,如果有,先停止,然后再启动。
- 咱们的stop-datanode.sh 内停止服务的方式不对,现状是使用ps然后查找datanode字样。一般通用做法是,在启动时将PID记录在pid文件中,停止时,读取并kill。目前的做法容易误停止其他服务(或者有多个时直接报错)。
Attachments
Attachments
Issue Links
- is related to
-
IOTDB-3732 [same folder but different rpc port]- "io task meets error" is not handled correctly
-
- Closed
-
- relates to
-
IOTDB-4402 Avoid multiple IoTDB processes accessing same data dir
-
- Closed
-
- links to