vearch / vearch

Distributed vector search for AI-native applications

Home Page:https://vearch.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

return error when creatting space

wangfuqiang opened this issue · comments

{"code":550,"msg":"create partition err: runtime error: invalid memory address or nil pointer dereference "}

{
"name": "pressure1",
"partition_num": 4,
"replica_num": 1,
"engine": {
"name": "gamma",
"index_size": 81920,
"id_type": "String",
"retrieval_type": "IVFFLAT",
"retrieval_param": {
"metric_type": "InnerProduct",
"ncentroids": 2048
}
},
"properties": {
"field1": {
"type": "keyword"
},
"field2": {
"type": "integer"
},
"field3": {
"type": "float",
"index": true
},
"field4": {
"type": "vector",
"dimension": 1024,
"store_type": "RocksDB",
"format": "normalization"
}
}
}

commented

你的部署方式是什么?

invalid memo

你的部署方式是什么?

我用 docker 编译的 bin 部署的,貌似这里有个 bug,创建 table 的语法不支持的时候,有概率触发 ps 挂掉。
client/ps_admin_service.go

  •   if reply != nil &&  **reply.Err != nil** && reply.Err.Code != vearchpb.ErrorEnum_SUCCESS {
              return vearchpb.NewError(reply.Err.Code, nil)
      }
    
commented

具体用的哪个版本代码呢

已修复 952fb14