重建索引报错

重建索引语句报错:

rebuild tag index idx_share_name;
报:
invalid param!

show tag indexes;查看索引正常存在。show tag/edge index status也没有在跑的队列。

nebula版本 3.x

执行下 SHOW CREATE TAG INDEX idx_share_name 截图看看

@jmq2020

(root@nebula) [nba]> create tag index player_age_index on player(age)
Execution succeeded (time spent 1522/1761 us)

(root@nebula) [nba]> show create tag index player_age_index
+--------------------+----------------------------------------------------+
| Tag Index Name     | Create Tag Index                                   |
+--------------------+----------------------------------------------------+
| "player_age_index" | "CREATE TAG INDEX `player_age_index` ON `player` ( |
|                    |  `age`                                             |
|                    | )"                                                 |
+--------------------+----------------------------------------------------+
Got 1 rows (time spent 1270/1623 us)

(root@nebula) [nba]> rebuild tag index player_age_index
+------------+
| New Job Id |
+------------+
| 8          |
+------------+
Got 1 rows (time spent 5187/5507 us)

(root@nebula) [nba]> show tag index status
+--------------------+--------------+
| Name               | Index Status |
+--------------------+--------------+
| "player_age_index" | "FINISHED"   |
+--------------------+--------------+
Got 1 rows (time spent 1792/2093 us)

使用的是3.1.0版本,没有复现你的问题,你的问题是必现的吗

是的,必现,从来没有一个索引能rebuild @jmq2020

是docker-compose部署的,看镜像是vesoft/nebula-storaged:nightly,这个是3.1版本吧,每个索引都不能重建。报invalid param!

nightly 你可以理解为是一个最新版,没有特定发版号的版本。

帮忙贴一下,nebula-graphd.ERROR 和 nebula-storaged.ERROR的日志看看

E20220623 03:13:07.384217 22 SubmitJobExecutor.cpp:35] Invalid param!
E20220623 03:13:07.384265 21 QueryInstance.cpp:137] Invalid param!

这个是从graph graph1 graph2 三个目录,是从graph目录下找到的。storage0 / storage 1 看着的错误日志没有和这个相关的。我贴一下把

E20220623 01:07:25.443760 48 GeneratedCodeHelper.cpp:201] received invalid message from client: No version identifier… old protocol client in strict mode? sz=1195725856
E20220623 01:07:25.443779 48 GeneratedCodeHelper.cpp:134] received invalid message from client: No version identifier… old protocol client in strict mode? sz=1195725856
E20220623 01:07:25.443785 48 GeneratedCodeHelper.cpp:93] invalid message from client in function process

E20220623 01:07:25.393714 55 HeaderServerChannel.cpp:100] Received invalid request from client: apache::thrift::transport::TTransportException: Bad Status: HTTP/1.0 (transport apache::thrift::PreReceivedDataAsyncTransportWrapper, address port 55915)

浙ICP备20010487号