apache / apache/iotdb

IoTDB Cluster Error

Đang mở
#6,894 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
6.4k
Fork
1.2k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
115

Mô tả

Hello Team,

We are trying to run cluster using 2 servers say n1,n2(with 1C1D on each). With normal configuration the cluster is performing correctly.
Then to test data availability I stopped one of the datanode (say datanode of n2), after this when I ran some query to fetch the data,
it throws error like can't connect to datanode on n2. I tried to increase the replication factor as well, but when I changed the 
replication factor to 2 then I am having this issue.

    2022-08-04 02:43:40,679 [main] ERROR o.a.i.c.s.ConfigNodeCommandLine:71 - Meet error when doing start checking
    org.apache.iotdb.commons.exception.ConfigurationException: Parameter data_replication_factor can not be 2, please set to: 1
        at org.apache.iotdb.confignode.conf.ConfigNodeStartupCheck.checkGlobalConfig(ConfigNodeStartupCheck.java:103)
        at org.apache.iotdb.confignode.conf.ConfigNodeStartupCheck.startUpCheck(ConfigNodeStartupCheck.java:65)
        at org.apache.iotdb.confignode.service.ConfigNodeCommandLine.run(ConfigNodeCommandLine.java:69)
        at org.apache.iotdb.commons.ServerCommandLine.doMain(ServerCommandLine.java:58)
        at org.apache.iotdb.confignode.service.ConfigNode.main(ConfigNode.java:84)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với ConfigNodeStartupCheck.java, nơi kiểm tra khởi động được báo cáo từ chối data_replication_factor=2, và xem xét cấu hình cluster liên quan trong kịch bản n1/n2. Chạy lại truy vấn sau khi dừng datanode của n2 và xác minh liệu thiết lập hệ số nhân bản có cho phép cluster tiếp tục khả dụng mà không có datanode đó hay không.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
databases, distributed-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.