lookup失败, Execute failed: Lookup vertices failed

提问参考模版:

  • nebula 版本:1.0

  • 部署方式(分布式 / 单机 / Docker / DBaaS):分布式 Docker

  • 硬件信息

    • 磁盘( 推荐使用 SSD)SSD
    • CPU、内存信息
  • 问题的具体描述
    每次创建索引之后很长时间了,lookup失败,必须执行能多次查询之后才能恢复正常。

  • 相关的 meta / storage / graph info 日志信息
    storage:

E0331 11:27:50.301461    31 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  432
E0331 11:27:50.812839    31 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  447
E0331 11:27:51.329525    34 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  461
E0331 11:27:51.797760    25 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  462
E0331 11:27:52.197926    25 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  477
E0331 11:27:52.672823    25 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  505
E0331 11:27:53.719442    25 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  506
E0331 11:27:54.250115    34 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  520
E0331 11:27:54.716118    25 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  535
E0331 11:27:55.161932    34 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 3784, partId =  552

graphd:

E0331 11:27:39.831799   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:40.252483   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:40.612813   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:40.924990   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:41.278411   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:41.706560   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:46.700541   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:47.391921   421 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:48.073320   437 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed
E0331 11:27:49.056041   421 ExecutionPlan.cpp:80] Execute failed: Lookup vertices failed

能把lookup语句贴一下吗?

这个是因为这个过程storage发生了leader change。你可以把storage配置文件里面的 raft_heartbeat_interval_secs 设置大点,现在默认是30秒,你可以设置为60秒,不过发生leader change 这个是需要用户进行重试的。

2 个赞