Star

docker所有服务都在,但是storage failed

2.0 docker

docker-compose ps
        Name                       Command                  State                            Ports
-----------------------------------------------------------------------------------------------------------------------
docker-20_graphd1_1     ./bin/nebula-graphd --flag ...   Up (healthy)   0.0.0.0:32790->13000/tcp,
                                                                        0.0.0.0:32786->13002/tcp,
                                                                        0.0.0.0:32793->3699/tcp
docker-20_graphd2_1     ./bin/nebula-graphd --flag ...   Up (healthy)   0.0.0.0:32778->13000/tcp,
                                                                        0.0.0.0:32777->13002/tcp,
                                                                        0.0.0.0:32779->3699/tcp
docker-20_graphd_1      ./bin/nebula-graphd --flag ...   Up (healthy)   0.0.0.0:32799->13000/tcp,
                                                                        0.0.0.0:32798->13002/tcp,
                                                                        0.0.0.0:3699->3699/tcp
docker-20_metad0_1      ./bin/nebula-metad --flagf ...   Up (healthy)   0.0.0.0:32775->11000/tcp,
                                                                        0.0.0.0:32773->11002/tcp,
                                                                        0.0.0.0:32770->45500/tcp, 45501/tcp
docker-20_metad1_1      ./bin/nebula-metad --flagf ...   Up (healthy)   0.0.0.0:32776->11000/tcp,
                                                                        0.0.0.0:32774->11002/tcp,
                                                                        0.0.0.0:32771->45500/tcp, 45501/tcp
docker-20_metad2_1      ./bin/nebula-metad --flagf ...   Up (healthy)   0.0.0.0:32772->11000/tcp,
                                                                        0.0.0.0:32769->11002/tcp,
                                                                        0.0.0.0:32768->45500/tcp, 45501/tcp
docker-20_storaged0_1   ./bin/nebula-storaged --fl ...   Up (healthy)   0.0.0.0:32791->12000/tcp,
                                                                        0.0.0.0:32787->12002/tcp,
                                                                        0.0.0.0:32783->44500/tcp, 44501/tcp
docker-20_storaged1_1   ./bin/nebula-storaged --fl ...   Up (healthy)   0.0.0.0:32792->12000/tcp,
                                                                        0.0.0.0:32788->12002/tcp,
                                                                        0.0.0.0:32784->44500/tcp, 44501/tcp
docker-20_storaged2_1   ./bin/nebula-storaged --fl ...   Up (healthy)   0.0.0.0:32789->12000/tcp,
                                                                        0.0.0.0:32785->12002/tcp,
                                                                        0.0.0.0:32781->44500/tcp, 44501/tcp
(root@nebula) [nba]> INSERT VERTEX student(name, age) VALUES "12345678901":("Tom", "2")
[ERROR (-8)]: Request to storage failed in executor.

Mon, 02 Nov 2020 10:29:41 CST

找到原因了,你们测试代码写错了,我query直接从代码copy的,但是报错信息太迷惑了。

多谢debug :clap:

感谢你的反馈,这个用例主要是测试vid超过限制的,但是属性也是错误的,所以相当于存在两个错误,这样就没办法测试错误是因为vid还是因为属性,实际是先check vid的,但是那个属性还是要改成正确的。关于错误信息返回的,最新代码已经修改,你可以试用下最新的。

浙ICP备20010487号