一亿条数据,设置了600,重启了感觉没有到这个时间就停下来了,报错如下:
[ERROR (-8)]: Storage Error: part: 100, error: E_RPC_FAILURE(-3).
那是其他错误原因了,你可以贴下 graphd 的 info 日志吗
在哪个路径下?
假如你是通过安装包安装,那么日志在 /usr/local/nebula/logs/nebula-graphd.INFO
I0514 09:52:55.124678 30702 GraphService.cpp:33] Authenticating user user from 127.0.0.1:35802
I0514 09:53:03.790479 30698 SwitchSpaceExecutor.cpp:43] Graph switched to `graph2’, space id: 68
E0514 09:54:31.732452 30682 StorageClientBase.inl:209] Request to “127.0.0.1”:9779 failed: N6apache6thrift9transport19TTransportExceptionE: Timed Out
I0514 09:54:31.732954 30682 StorageClientBase.inl:161] Invalidate the leader for [68, 1]
I0514 09:54:31.732962 30682 StorageClientBase.inl:161] Invalidate the leader for [68, 2]
。。。。。
I0514 09:54:31.733505 30682 StorageClientBase.inl:161] Invalidate the leader for [68, 99]
I0514 09:54:31.733508 30682 StorageClientBase.inl:161] Invalidate the leader for [68, 100]
E0514 09:54:31.733569 30702 StorageAccessExecutor.h:35] IndexScanExecutor failed, error E_RPC_FAILURE, part 100
E0514 09:54:31.733659 30702 StorageAccessExecutor.h:35] IndexScanExecutor failed, error E_RPC_FAILURE, part 99
E0514 09:54:31.733675 30702 StorageAccessExecutor.h:35] IndexScanExecutor failed, error E_RPC_FAILURE, part 98
E0514 09:54:31.733687 30702 StorageAccessExecutor.h:35] IndexScanExecutor failed, error E_RPC_FAILURE, part 97
。。。。
E0514 09:54:31.734880 30702 StorageAccessExecutor.h:35] IndexScanExecutor failed, error E_RPC_FAILURE, part 1
E0514 09:54:31.734902 30702 StorageAccessExecutor.h:112] Storage Error: part: 100, error: E_RPC_FAILURE(-3).
E0514 09:54:31.734983 30698 QueryInstance.cpp:103] Storage Error: part: 100, error: E_RPC_FAILURE(-3).
这一段可以吗,是在这个文件下读取的nebula-graphd.INFO → nebula-graphd.host-10-33-220-159.root.log.INFO.20210512-103507.30421
你设置为,这个单位是ms,上面只是举个例子,600其实就是600ms,比默认都小,300000是5分钟
--storage_client_timeout_ms=300000
(user@nebula) [graph2]> match (v:entity) return v limit 3
[ERROR (-8)]: Storage Error: part: 100, error: E_RPC_FAILURE(-3).
还是不行,感觉没生效,一两分钟就报错了
https://docs.nebula-graph.com.cn/2.0.1/5.configurations-and-logs/1.configurations/3.graph-config/#_1
我们也遇到了同样的情况
这个帖子过去有些久了,你可以重新开个帖子附上这个帖子的链接(可选)让我们的研发同学看看哈,记得带上版本号和配置信息。