创建快照报错:[ERROR (-1005)]: Snapshot failure!

  • nebula 版本: nebula-graph-3.1.0.ubuntu1604.amd64.tar.gz
  • 部署方式:单机
  • 安装方式:RPM
  • 是否为线上版本:N
  • 问题的具体描述:[ERROR (-1005)]: Snapshot failure!
  • 相关的 meta / storage / graph info 日志信息(尽量使用文本形式方便检索)
    [root@aiops-node01 logs]# tail -200 graphd-stderr.log
    E20220602 16:12:51.644569 3000 SpaceExecutor.cpp:29] Zone not enough!
    E20220602 16:12:51.644809 2999 QueryInstance.cpp:131] Zone not enough!
    E20220606 20:24:43.121230 3000 QueryInstance.cpp:131] SyntaxError: syntax error near `labels’
    E20220607 10:32:27.562778 3000 SnapshotExecutor.cpp:22] Snapshot failure!
    E20220607 10:32:27.562832 2997 QueryInstance.cpp:131] Snapshot failure!

[root@aiops-node01 logs]# tail -100 nebula-storaged.aiops-node01.root.log.INFO.20220602-154957.3031
I20220607 10:26:13.854589 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 3] total time:378ms, Total commit: 1
I20220607 10:29:53.856504 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 1] total time:128ms, Write WAL, total 2
I20220607 10:36:06.854877 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 4] total time:224ms, Write WAL, total 2
I20220607 10:36:52.854784 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 5] total time:348ms, Write WAL, total 2
I20220607 10:37:43.854609 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 5] total time:193ms, Write WAL, total 2
I20220607 10:38:44.855051 3070 SlowOpTracker.h:31] [Port: 9780, Space: 2, Part: 3] total time:184ms, Write WAL, total 2
I20220607 10:44:37.855124 3071 SlowOpTracker.h:31] [Port: 9780, Space: 2, Part: 1] total time:356ms, Write WAL, total 2
I20220607 10:53:59.856631 3070 SlowOpTracker.h:31] [Port: 9780, Space: 2, Part: 2] total time:591ms, Write WAL, total 2
I20220607 10:53:59.856640 3071 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 1] total time:291ms, Total commit: 1
I20220607 11:03:27.854884 3070 SlowOpTracker.h:31] [Port: 9780, Space: 3, Part: 2] total time:124ms, Write WAL, total 2

[root@aiops-node01 logs]# tail -200 nebula-metad.aiops-node01.root.log.INFO.20220602-154957.2886
I20220607 11:17:09.535524 3118 HBProcessor.cpp:33] Receive heartbeat from “7.183.25.197”:9779, role = STORAGE
I20220607 11:17:19.519919 3118 HBProcessor.cpp:33] Receive heartbeat from “7.183.25.197”:9669, role = GRAPH
I20220607 11:17:19.538440 3118 HBProcessor.cpp:33] Receive heartbeat from “7.183.25.197”:9779, role = STORAGE
I20220607 11:17:29.521559 3118 HBProcessor.cpp:33] Receive heartbeat from “7.183.25.197”:9669, role = GRAPH
I20220607 11:17:29.549007 3118 HBProcessor.cpp:33] Receive heartbeat from “7.183.25.197”:9779, role = STORAGE

show hosts 看下

。。。你装的不是 3.1.0 的 Nebula 吗,为啥 show hosts 显示你的版本是 3.0.2?两套部署环境?

抱歉,说错了,版本是对的

rpm -qa | grep “nebula”

nebula-graph-3.0.2-1.x86_64
nebula-graph-studio-3.2.3-1.x86_64

Zone not enough 是说创建的副本数要跟集群数保持一致吧,我调整一下试试

space都删除了,还是不能快照,一样的错误 :rofl:

(root@nebula) [(none)]> show spaces;
+------+
| Name |
+------+
+------+
Empty set (time spent 573/848 us)

Tue, 07 Jun 2022 11:46:18 CST

(root@nebula) [(none)]> CREATE SNAPSHOT;
[ERROR (-1005)]: Snapshot failure!

Tue, 07 Jun 2022 11:46:49 CST

(root@nebula) [(none)]>

单机?replica 设置成了 3?

对,创建表空间时设置过,但现在删除了表空间还是不能快照

删除原安装程序及对应目录后重装,OK了。。。

1 个赞

此话题已在最后回复的 7 天后被自动关闭。不再允许新回复。