Star

命令行创建集群快照报错Unknown code -3

  • 部署方式:Docker 三台机器的小集群测试
  • 问题的具体描述:创建集群快照的时候,直接在命令行操作的,但是报错了,请问下这个可能是什么问题导致的?
(user@nebula) [(none)]> create snapshot;
[ERROR (-8)]: Unknown code -3
Tue Nov 17 08:04:23 2020

log里边有错误消息吗?

您好,谢谢回复!修正一下,部署方式是docker swarm,nebula_metad0上没看到日志,nebula_storaged0上看到日志如下

E1117 09:19:33.659734    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.713600    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.766813    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.819913    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.873184    28 RaftPart.cpp:365] [Port: 44501, Space: 10, Part: 26] The partition is not a leader
E1117 09:19:33.876444    28 RaftPart.cpp:635] [Port: 44501, Space: 10, Part: 26] Cannot append logs, clean the buffer
E1117 09:19:33.876518    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.928612    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:33.980763    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.033043    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.085191    28 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.138335    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.190879    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.244423    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.296864    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.350170    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.403534    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.456792    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.514861    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.570761    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.638623    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.691573    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.747427    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.802073    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.854923    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.907261    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:34.960445    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.013988    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.067474    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.121065    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.174325    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.227252    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.288410    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.341935    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:35.394904    22 NebulaStore.cpp:812] Part sync failed. space : 10 Part : 26
E1117 09:19:39.993278    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4
E1117 09:19:40.044875    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4
E1117 09:19:40.096951    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4
E1117 09:19:40.148902    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4
E1117 09:19:40.200819    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4
E1117 09:19:40.252890    28 NebulaStore.cpp:812] Part sync failed. space : 11 Part : 4

1赞

你好,只看storage的日志就行,如果没猜错的话,是不是Storage的ERROR日志里有这个错误?
“The partition is stopped”

浙ICP备20010487号