alibaba / alibaba/GraphScope

[BUG] Some test failures both in FLEX coordinator and Interactve side

Open
#3,470 1 comment 0 reactions 3 assignees Claimed by @longbinlai View on GitHub
flex stale
Dominant language
C++
Stars
3.6k
Forks
468
Avg merge
29m
Merged PRs (30d)
1

Description

**Describe the bug**

`1. POST /v1/graph/{graph_name}/dataloading`
- [x] 接口 由于 indices 目录的存在,无法重复数据导入
- [x] 输入一个错误的 location 引擎会挂掉
- [x] 某次数据导入如果出错,会遗留 `.lock` 文件,导致无法执行其他图的操作
![截屏2024-01-04 上午11 27 31](https://github.com/alibaba/GraphScope/assets/23491543/0d74aae2-a76d-4708-a483-d4b5ea1cffdf)

`2. DELETE /v1/graph/{graph_name}`
- [x] ~~删除某个不存在的图时,接口中返回的信息多个 “/” Fail to delete graph: Graph not exists: /dd~~

`3. POST /v1/graph/{graph_name}/procedure`
- [x] 不同图上可以创建相同名字的 procedure 嘛?(@zhanglei1949 )
- [x] 创建 procedure 会失败,报错信息如下 `IR compiler properties = /tmp/interactive_workspace//conf/engine_config.yaml not exists.`
- [x] ~~目前创建 procedure 后需要重启引擎才能生效,是否可以省略该过程~~,目前显示的重启服务来支持新创建的 procedure
- [ ] 当前,创建 procedure 的时候会触发编译过程,是否对用户来说等待时候过长?(@zhanglei1949 )

`4. PUT v1/graph/{graph_name}/procedure/{procedure_name}`
- [x] 更新某个 procedure 失败,报错信息如下:
![截屏2024-01-12 下午8 35 15](https://github.com/alibaba/GraphScope/assets/23491543/bf1175a4-9f9e-4a73-b5e9-2f06bd81a974)

`5. DELETE v1/graph/{graph_name}/procedure/{procedure_name}`
- [x] 当图不存在是,报错信息写的 create graph
![截屏2024-01-12 下午8 54 03](https://github.com/alibaba/GraphScope/assets/23491543/b076920a-de0e-40d9-80bf-25ac729db42c)

`6. POST /v1/service/start body {graph_name: xxxxx}`
- [ ] Interactive 背后只能有一张图对外提供服务,因此在切图时,compiler 目前好像不支持多张图 @zhanglei1949 (double check)

`7. GET /v1/graph/{graph_name}/schema`
- [x] 该接口返回空

`8. POST /v1/job/dataloading`
- [x] 是否针对 bulkLoader(GraphAr +Spark) 对外提供 job 接口,包含
- [x] 提交任务, 返回 jobid
- [x] 根据 jobid 查询任务状态,包括日志信息,或日志 logview 链接
- [x] 支持 cancel 任务

`9 GET /v1/node/status`
- [x] ~~cpu_usage 和 memory usage 返回 1000 和 200 (代表1核,以及200M)~~ 由 coordinator 提供该功能

10、服务接口
- [x] `GET /v1/service/status` 需返回 bolt_port 和 hqps_port,以支持可视化查询 {"status": running, "graph_name": "modern_graph", "bolt_port": xxxxx, "hqps_port": xxxxxx}
- [x] `POST /v1/service/stop` HTTP response body: {"message": "std::runtime_error (Stopping service not supported.)", "code": 500}
-

11. 日志
- [ ] 日志信息的存储、与订阅

12. 其他:
- [x] Http 错误返回的 status code 都是 500
- [ ] 关于 procedure 这一块,Interactive 提供两种方式查询, 1) 通过 frontend 暴露的端口服务,即 bolt 协议,可以查询 stored procedure 和正常的 cypher 语句; 2) 通过 admin port 暴露 http 服务,这个仅可以查询 stored procedured,当前的产品原型是否能统一这两种查询方式?(double check @pomelo-nwu @zhanglei1949 )

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.