GraphScope
GraphScope copied to clipboard
[BUG] Some test failures both in FLEX coordinator and Interactve side
Describe the bug
1. POST /v1/graph/{graph_name}/dataloading
- [x] 接口 由于 indices 目录的存在,无法重复数据导入
- [x] 输入一个错误的 location 引擎会挂掉
- [x] 某次数据导入如果出错,会遗留
.lock文件,导致无法执行其他图的操作
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 失败,报错信息如下:
5. DELETE v1/graph/{graph_name}/procedure/{procedure_name}
- [x] 当图不存在是,报错信息写的 create graph
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/stopHTTP response body: {"message": "std::runtime_error (Stopping service not supported.)", "code": 500}
- 日志
- [ ] 日志信息的存储、与订阅
- 其他:
- [x] Http 错误返回的 status code 都是 500
- [ ] 关于 procedure 这一块,Interactive 提供两种方式查询, 1) 通过 frontend 暴露的端口服务,即 bolt 协议,可以查询 stored procedure 和正常的 cypher 语句; 2) 通过 admin port 暴露 http 服务,这个仅可以查询 stored procedured,当前的产品原型是否能统一这两种查询方式?(double check @pomelo-nwu @zhanglei1949 )
Regarding the first question, we plan to implement it in the new version of the BulkLoader, which means completing the graph loading through GraphAr +Spark.