两个节点查询数据不一致



如图,在17上查询返回空数据,在19上查询却是能返回数据

1 个赞

E0918 14:12:59.036172 128716 ExecutionPlan.cpp:76] Execute failed: Please choose a graph space with USE spaceName' firstly E0918 14:13:07.293901 128715 ExecutionPlan.cpp:76] Execute failed: Get edge exchange’ props failed
E0918 14:24:28.428725 128715 ExecutionPlan.cpp:76] Execute failed: Insert vertex not complete, completeness: 0
E0918 14:24:28.939798 128716 ExecutionPlan.cpp:76] Execute failed: Insert vertex not complete, completeness: 50
E0918 14:58:46.269174 128716 ExecutionPlan.cpp:76] Execute failed: Lookup vertices failed
E0918 14:58:51.673884 128716 ExecutionPlan.cpp:76] Execute failed: Lookup vertices failed

E0918 14:58:46.265635 128900 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 1
E0918 14:58:51.672369 128900 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 4
E0918 14:59:13.623759 128923 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 9
E0918 14:59:36.020779 128894 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 14
E0918 14:59:36.130264 128894 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 16
E0918 15:00:03.451217 128923 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 31
E0918 15:00:13.620327 128900 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 32
E0918 15:00:14.399008 128926 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 35
E0918 15:00:29.395941 128904 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 37
E0918 15:00:54.784612 128912 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 39
E0918 15:02:15.668429 128907 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 40
E0918 15:02:16.463863 128907 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 53
E0918 15:02:22.752588 128894 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 57
E0918 15:02:40.132448 128904 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 61
E0918 15:02:48.774554 128898 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 62
E0918 15:03:53.578819 128920 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 71
E0918 15:04:05.502372 128904 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 72
E0918 15:04:20.845077 128904 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 75
E0918 15:10:57.989240 128898 LookUpIndexProcessor.cpp:39] Execute Execution Plan! ret = -5, spaceId = 83, partId = 80

是不是终端字符编码不一致?

一样的
另外还偶尔出现过下列错误
Execute error: Get neighbors failed

Get edge `exchange’ props failed

这种不等于也是没数据,跟编码应该无关吧

几个问题:

1 您这里使用的是1.0 nightly版本?
2 您是用的多副本还是单副本?
3 storage的日志能否贴出来看下.

  1. 是的,正式版有些特性不支持,当时你们推荐使用了nightly版。
  2. 我启动了3个storage,是算3副本吗?
  3. storage日志我已经贴在上面了

您的space创建语句是什么样的?副本数是space创建的时候指定的。

像是网络分区了呢, 可以在 17 跟 19 上分别打下 show hosts 吗?

哦,是3副本 100分区



上17 下19

19 那台机器执行结果一直都为空是吗?

17 一直是空

哦, OK, 17 那台机器在没有查询的时候有没有不停地打 log?

这些 log 是 17 打出来的吗?

嗯,是17的,没有查询应该是不打印的

再麻烦您, 在 17 跟 19 上分别执行下这句:
SHOW PARTS 37


上17 下19

可以发一下17和19上的nebula-graphd.conf的配置吗?