Skip to content

创建评测提示成功,但列表查不到数据 #1436

@Qzki

Description

@Qzki
  1. 基于 helm 部署 v1.12.0-ce
  2. 创建评测接口正常返回了数据,但是每次重启 runner 服务后,自增 id 从 1 开始
  3. 初步判断是 runner 写入到了内存数据库,而 server 读取的 pg,通过强行修改 workFlowComponentImpl 的 store 到 pg db 后就可以查到数据了

看源码,似乎跟 tryInClusterConfig(pool, config) 有关,检测到 types.ConnectModeInCluster 就会走内存数据库

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions