升级到v2.5.0后无法连接

  • nebula 版本:2.5.0
  • 部署方式(分布式 / 单机 / Docker / DBaaS):分布式
  • 是否为线上版本:Y
  • 问题的具体描述:

我们之前部署并一直运行NebulaGraph v2.0.1,今天通过编译安装的形式升级到了v2.5.0,升级后,Nebula Console和Nebula Java Client均无法连接数据库,表现为:

1、使用和原先完全相同的配置、完全相同的用户名密码连接,有时报


有时报

2、在graphd配置中设置enable_authorize=false后重新连接,有时报


有时报

graphd相关错误日志:

E0826 18:02:44.592233 12970 MetaClient.cpp:635] Send request to "xx.xx.xx.15":9559, exceed retry limit
E0826 18:02:44.592708 12924 MetaClient.cpp:514] List fulltext indexes failed, status:RPC failure in MetaClient: N6apache6thrift21TApplicationExceptionE: Method name listFTIndexes not found
E0826 18:02:44.592741 12924 MetaClient.cpp:192] Load fulltext indexes Failed
E0826 18:02:57.613974 12956 MetaClient.cpp:635] Send request to "xx.xx.xx.14":9559, exceed retry limit
E0826 18:02:57.614051 12924 MetaClient.cpp:514] List fulltext indexes failed, status:RPC failure in MetaClient: N6apache6thrift21TApplicationExceptionE: Method name listFTIndexes not found
E0826 18:02:57.614084 12924 MetaClient.cpp:192] Load fulltext indexes Failed
E0826 18:03:10.623634 12974 MetaClient.cpp:635] Send request to "xx.xx.xx.14":9559, exceed retry limit
E0826 18:03:10.623724 12924 MetaClient.cpp:514] List fulltext indexes failed, status:RPC failure in MetaClient: N6apache6thrift21TApplicationExceptionE: Method name listFTIndexes not found
E0826 18:03:10.623739 12924 MetaClient.cpp:192] Load fulltext indexes Failed
E0826 18:03:20.628657 12924 MetaClient.cpp:65] Heartbeat failed, status:Role not existed!
E0826 18:03:23.639508 12978 MetaClient.cpp:635] Send request to "xx.xx.xx.15":9559, exceed retry limit
E0826 18:03:33.886274 12965 MetaClient.cpp:635] Send request to "xx.xx.xx.14":9559, exceed retry limit
E0826 18:03:33.886415 13077 MetaClient.cpp:514] List fulltext indexes failed, status:RPC failure in MetaClient: N6apache6thrift21TApplicationExceptionE: Method name listFTIndexes not found
E0826 18:03:33.886443 13077 MetaClient.cpp:192] Load fulltext indexes Failed
E0826 18:03:43.899262 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:03:53.903153 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:03.910840 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:13.913843 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:23.924548 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:33.928575 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:43.940161 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:04:53.944546 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!
E0826 18:05:03.954530 13077 MetaClient.cpp:131] Heartbeat failed, status:Role not existed!

metad相关错误日志:

E0826 17:51:30.794781  5452 RaftPart.cpp:1143] [Port: 9560, Space: 0, Part: 0] Receive response about askForVote from "xx.xx.xx.15":9560, error code is -5
E0826 17:51:32.741959  5590 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:51:34.747035  5590 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:51:51.393036  5457 ThriftClientManager.inl:33] Invalid Channel: 0x7f8c6920f300 for host: "xx.xx.xx.15":9560
E0826 17:51:53.799878  5458 ThriftClientManager.inl:33] Invalid Channel: 0x7f8c6840e300 for host: "xx.xx.xx.15":9560
E0826 17:51:54.838758  5460 ThriftClientManager.inl:33] Invalid Channel: 0x7f8c6760f300 for host: "xx.xx.xx.15":9560
E0826 17:52:06.761752  5591 MetaService.tcc:5699] N6apache6thrift21TApplicationExceptionE: Function listSessions is unimplemented in function listSessions
E0826 17:52:07.763875  5591 MetaService.tcc:5699] N6apache6thrift21TApplicationExceptionE: Function listSessions is unimplemented in function listSessions
E0826 17:52:08.766181  5591 MetaService.tcc:5699] N6apache6thrift21TApplicationExceptionE: Function listSessions is unimplemented in function listSessions
E0826 17:52:16.061039  5588 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:52:29.091591  5592 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:52:31.095078  5592 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:52:42.116748  5590 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process
E0826 17:52:43.118779  5590 GeneratedCodeHelper.cpp:73] Method name listFTIndexes not found in function process

所以现在怎么样都连不上了,业务也都挂掉了,请帮忙指点一下问题

感觉像 你客户端没匹配上啊, 你用的 什么版本的客户端

2.5.0

重新安装了一遍,还是同样的问题

看一下 console 目录下 go.mod 中 nebula-go 的版本
console 更新完代码需要 make 重新编译

console目录指的是哪个目录?
截图里是binary版的console,此外我们通过maven导入的java客户端也会报同样的错

我们把nebula安装目录中除了etc、data目录外的所有东西都删掉,再重新编译安装后,问题解决了

1 个赞

mark

我几乎100%确定是2.5的graph连了2.0的meta

2 个赞

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