Milvus BM25 全文检索无法正常执行迁移步骤
例行检查
- [x] 我已确认目前没有类似 issue
- [x] 我已完整查看过项目 README,以及项目文档
- [x] 我使用了自己的 key,并确认我的 key 是可正常使用的
- [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭
你的版本
- [ ] 公有云版本
- [x] 私有部署版本, 具体版本号:
v4.16.2
问题描述, 日志截图,配置文件等
我原来的版本是milvusdb/milvus:v2.5.9,于是,我直接升级到milvusdb/milvus:v2.6.22,然后重启fastgpt(此时是v4.16.1版本),一切正常
随后,我将fastgpt升级到v4.16.2,日志输出的版本信息:
2026-09-02 10:26:48 INF infra:vector Milvus version verified: { version: '2.6.22' }
然后直接报错如下:
System initialization step failed {
step: 'init-vector-store',
stage: 'vectordb_error',
errorMessage: 'ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]',
errorName: 'Error',
errorCode: undefined,
errorStage: undefined,
errorStep: undefined,
errorStack: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at MilvusClient.<anonymous> (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:610:23)\n' +
' at Generator.next (<anonymous>)\n' +
' at fulfilled (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:5:58)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)',
errorCause: undefined,
errorDetails: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at Generator.next (<anonymous>)'
}
后续的如下操作,我都无法进行,因为无法启动:
# 1. dry-run 先看统计
curl 'http://host/api/admin/4162/milvus?dryRun=1' \
-H 'rootkey: 你的ROOT_KEY'
# 2. 正式迁移
curl 'http://host/api/admin/4162/milvus?batchSize=500' \
-H 'rootkey: 你的ROOT_KEY'
# 3. 若请求被网关超时中断,用返回的 migrationId 续跑
curl 'http://host/api/admin/4162/milvus?resumeMigrationId=<uuid>' \
-H 'rootkey: 你的ROOT_KEY'
@SteelHe Check 下
I'll work on this. Could you assign it to me?
I'll look at the current code, add a focused test, and send a small PR.
milvus v2.5.9不能直接升级到v2.6.22,你可以升级到2.5.16
milvus v2.5.9不能直接升级到v2.6.22,你可以升级到2.5.16
升不了,我试过镜像改成2.5.16,fastgpt无法连接,无法启动。另外,如果2.5.9不能直接升级2.6.22,那为什么fastgpt用v4.16.1没有任何问题?按理说,milvus 直接升级到v2.6.22无法运行才对?
另外,我已经升级到v2.6.22了,我应该怎么正常回退到2.5.16?现在直接2.5.16没办法启动
milvus v2.5.9不能直接升级到v2.6.22,你可以升级到2.5.16
问ai诊断了一下,没按照官方升级,也不代表肯定就不行,目前能正常跑,可能是正常的,而且,重要的是,没有办法再回滚到2.5.x版本了
是否可以帮忙确认一下,我这种v2.5.9直接升级到v2.6.22后,没有发现任何异常,知识库检索一切正常(v4.16.1版本的fastgpt)的情形,是不是算是升级成功的情形?我看到确实有人从v2.5.16以下的版本升级到v2.6.x直接崩溃无法启动,但是,我并没有出现任何异常
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
改回milvus 2.5.16之后,milvus服务会一直报错,无法正常启动,fastgpt自然也无法启动了,相当于连接不了milvus 服务。 这是因为,milvus 一旦升级到2.6版本之后,是不能进行降级的。
请问一下,drop掉modeldata_v2 collection,这个操作怎么做呢?有什么命令?或者如何手动操作?
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
改回milvus 2.5.16之后,milvus服务会一直报错,无法正常启动,fastgpt自然也无法启动了,相当于连接不了milvus 服务。 这是因为,milvus 一旦升级到2.6版本之后,是不能进行降级的。
请问一下,drop掉modeldata_v2 collection,这个操作怎么做呢?有什么命令?或者如何手动操作?
milvus报的什么错误呢 如果数据量不多,建议删掉数据重建,这样可能更快 milvus报错,连不上的话就无法drop了,如果能连上,可以用milvus-attu通过页面进行 我尝试复现一下
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
改回milvus 2.5.16之后,milvus服务会一直报错,无法正常启动,fastgpt自然也无法启动了,相当于连接不了milvus 服务。 这是因为,milvus 一旦升级到2.6版本之后,是不能进行降级的。
请问一下,drop掉modeldata_v2 collection,这个操作怎么做呢?有什么命令?或者如何手动操作?
复现不出来
- 看下fastgpt有没有日志 Milvus collection created
- milvus的报错应该是因为元数据不兼容,将milvus改回v2.5.9,milvus能否正常启动?
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
改回milvus 2.5.16之后,milvus服务会一直报错,无法正常启动,fastgpt自然也无法启动了,相当于连接不了milvus 服务。 这是因为,milvus 一旦升级到2.6版本之后,是不能进行降级的。 请问一下,drop掉modeldata_v2 collection,这个操作怎么做呢?有什么命令?或者如何手动操作?
复现不出来
- 看下fastgpt有没有日志 Milvus collection created
- milvus的报错应该是因为元数据不兼容,将milvus改回v2.5.9,milvus能否正常启动?
回退到2.5.9,milvusStandalone容器无法启动,会一直循环报错如下:
[2026/09/07 05:09:32.501 +00:00] [INFO] [grpcclient/client.go:252] ["previous client closed"] [role=rootcoord] [addr=]
[2026/09/07 05:09:32.720 +00:00] [WARN] [grpcclient/client.go:424] ["call received grpc error"] [clientRole=rootcoord] [error="rpc error: code = Unknown desc = node not match[expectedNodeID=161][actualNodeID=162]"]
[2026/09/07 05:09:32.720 +00:00] [WARN] [grpcclient/client.go:508] ["start to reset connection because of specific reasons"] [client_role=rootcoord] [error="rpc error: code = Unknown desc = node not match[expectedNodeID=161][actualNodeID=162]"]
[2026/09/07 05:09:32.720 +00:00] [INFO] [grpcclient/client.go:252] ["previous client closed"] [role=rootcoord] [addr=]
[2026/09/07 05:09:33.880 +00:00] [INFO] [indexnode/indexnode.go:321] ["get IndexNode components states ..."]
[2026/09/07 05:09:33.880 +00:00] [INFO] [indexnode/indexnode.go:339] ["IndexNode Component states"] [State="nodeID:162 role:\"indexnode\" state_code:Healthy"] [Status=Success] [SubcomponentStates=null]
[2026/09/07 05:09:33.880 +00:00] [INFO] [healthz/healthz_handler.go:116] ["check health failed"] [UnhealthyComponent="[rootcoord,datacoord,querycoord,datanode,proxy]"]
[2026/09/07 05:09:35.675 +00:00] [WARN] [retry/retry.go:46] ["retry func failed"] [retried=8] [error="function CompareAndSwap error for compare is false for key: rootcoord"]
而fastgpt容器则报错如下:
errorDetails: 'Error [SystemInitializationError]: [vectordb_error / init-vector-store]: 2 UNKNOWN: service unavailable: internal: Milvus Proxy is not ready yet. please wait\n' +
' at o (.next/server/chunks/[root-of-the-server]__1dvn68-._.js:1:7710)\n' +
' at n (.next/server/chunks/[root-of-the-server]__1dvn68-._.js:1:8068)\n' +
' at async t (.next/server/chunks/[root-of-the-server]__1dvn68-._.js:1:9986)\n' +
' at async Module.s [as register] (.next/server/chunks/projects_app_src_06nmpan._.js:1:234) {\n' +
" stage: 'vectordb_error',\n" +
" step: 'init-vector-store',\n" +
' [cause]: Error: 2 UNKNOWN: service unavailable: internal: Milvus Proxy is not ready yet. please wait\n' +
' at new Promise (<anonymous>)\n' +
' at Generator.next (<anonymous>) {\n' +
' code: 2,\n' +
" details: 'service unavailable: internal: Milvus Proxy is not ready yet. please wait',\n" +
" metadata: Metadata { internalRepr: Map(1) { 'content-type' => [ 'application/grpc' ] }, options: {} }\n" +
' }\n' +
'}'
}
镜像改成2.5.16,fastgpt无法连接,无法启动
镜像改成2.5.16之后,fastgpt的报错也是上面index not found吗 有没有试过先改为milvus 2.5.16,再重启fastgpt 如果还是不行,milvus 先drop掉modeldata_v2 collection,再重启fastgpt
改回milvus 2.5.16之后,milvus服务会一直报错,无法正常启动,fastgpt自然也无法启动了,相当于连接不了milvus 服务。 这是因为,milvus 一旦升级到2.6版本之后,是不能进行降级的。 请问一下,drop掉modeldata_v2 collection,这个操作怎么做呢?有什么命令?或者如何手动操作?
复现不出来
- 看下fastgpt有没有日志 Milvus collection created
- milvus的报错应该是因为元数据不兼容,将milvus改回v2.5.9,milvus能否正常启动?
milvusdb/milvus:v2.6.22+fastgpt版本为v4.16.2的fastgpt启动后如下,这是启动后的全部fastgpt日志:
2026-09-07 05:22:16 INF system Starting system initialization...
2026-09-07 05:22:16 INF infra:mongo Starting MongoDB connection
2026-09-07 05:22:16 INF infra:mongo Starting MongoDB connection
2026-09-07 05:22:16 INF infra:queue BullMQ workers initialization started
2026-09-07 05:22:16 INF infra:s3 Starting S3 delete worker
2026-09-07 05:22:16 INF dataset:collection Collection Update worker initialized
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection established: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system Redis connection ready: { role: 'worker' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 's3FileDelete' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'datasetDelete' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'appDelete' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'teamDelete' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'collectionUpdate' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'agentSkillCreate' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'agentSkillDelete' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'wechatPoll' }
2026-09-07 05:22:16 INF system BullMQ worker ready: { name: 'wechatReply' }
2026-09-07 05:22:16 INF infra:vector Milvus connected: { address: 'http://fastgpt-milvusStandalone:19530' }
2026-09-07 05:22:16 DBG infra:s3 Private bucket exists: {
bucketName: 'fastgpt-plugins',
data: { exists: true, created: false, bucket: 'fastgpt-plugins' }
}
2026-09-07 05:17:21 INF infra:vector Milvus version verified: { version: '2.6.22' }
System initialization step failed {
step: 'init-vector-store',
stage: 'vectordb_error',
errorMessage: 'ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]',
errorName: 'Error',
errorCode: undefined,
errorStage: undefined,
errorStep: undefined,
errorStack: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at MilvusClient.<anonymous> (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:610:23)\n' +
' at Generator.next (<anonymous>)\n' +
' at fulfilled (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:5:58)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)',
errorCause: undefined,
errorDetails: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at Generator.next (<anonymous>)'
}
System initialization failed {
nextRuntime: 'nodejs',
nodeEnv: 'production',
errorMessage: '[vectordb_error / init-vector-store]: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]',
errorName: 'SystemInitializationError',
errorCode: undefined,
errorStage: 'vectordb_error',
errorStep: 'init-vector-store',
errorStack: 'SystemInitializationError: [vectordb_error / init-vector-store]: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at o (/app/projects/app/.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:8676)\n' +
' at c (/app/projects/app/.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:9034)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)\n' +
' at async Promise.all (index 4)\n' +
' at async t (/app/projects/app/.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:11043)\n' +
' at async Module.r [as register] (/app/projects/app/.next/server/chunks/projects_app_src_06nmpan._.js:1:234)\n' +
' at async registerInstrumentation (/app/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_react-dom@_31622614e8390c37e9a6836de01390c7/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js:63:13)\n' +
' at async NextNodeServer.runInstrumentationHookIfAvailable (/app/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_react-dom@_31622614e8390c37e9a6836de01390c7/node_modules/next/dist/server/next-server.js:578:9)\n' +
' at async NextNodeServer.prepareImpl (/app/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected]_react-dom@_31622614e8390c37e9a6836de01390c7/node_modules/next/dist/server/next-server.js:575:9)',
errorCause: {
message: 'ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]',
name: 'Error',
code: undefined,
stage: undefined,
step: undefined,
stack: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at MilvusClient.<anonymous> (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:610:23)\n' +
' at Generator.next (<anonymous>)\n' +
' at fulfilled (/app/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@zilliz/milvus2-sdk-node/dist/milvus/grpc/Collection.js:5:58)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:104:5)',
cause: undefined,
details: 'Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at Generator.next (<anonymous>)'
},
errorDetails: 'Error [SystemInitializationError]: [vectordb_error / init-vector-store]: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at o (.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:8676)\n' +
' at c (.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:9034)\n' +
' at async t (.next/server/chunks/[root-of-the-server]__0rz4b4h._.js:1:11043)\n' +
' at async Module.r [as register] (.next/server/chunks/projects_app_src_06nmpan._.js:1:234) {\n' +
" stage: 'vectordb_error',\n" +
" step: 'init-vector-store',\n" +
' [cause]: Error: ErrorCode: IndexNotExist. Reason: index not found[collection=modeldata_v2]\n' +
' at Generator.next (<anonymous>)\n' +
'}'
}
你说的Milvus collection created在fastgpt日志里面没有出现过;是不是针对Milvus的2.6.22版本,没有进行modeldata_v2的正常创建?
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动。2.6.22下,fastgpt只要版本是v4.16.1,启动就没有任何异常,数据也都在,也能正常使用知识库
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动
重启fastgpt,还会报错吗 如果fastgpt报错,1. 安装一下milvus-attu,删除 collection modeldata_v2 2. 删除collection之后将milvus改为2.5.16,再重启fastgpt测试下
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动
重启fastgpt,还会报错吗 如果fastgpt报错,1. 安装一下milvus-attu,删除 collection modeldata_v2 2. 删除collection之后将milvus改为2.5.16,再重启fastgpt测试下
重启fastgpt,会报错无法连接到milvus,milvus没准备好,因为milvus无限重启,启动不了。
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动
重启fastgpt,还会报错吗 如果fastgpt报错,1. 安装一下milvus-attu,删除 collection modeldata_v2 2. 删除collection之后将milvus改为2.5.16,再重启fastgpt测试下
重启fastgpt,会报错无法连接到milvus,milvus没准备好,因为milvus无限重启,启动不了。
刚刚不是说milvus 2.6可以启动吗 milvus 2.6.22下,fastgpt 4.16.2 下呢
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动
重启fastgpt,还会报错吗 如果fastgpt报错,1. 安装一下milvus-attu,删除 collection modeldata_v2 2. 删除collection之后将milvus改为2.5.16,再重启fastgpt测试下
重启fastgpt,会报错无法连接到milvus,milvus没准备好,因为milvus无限重启,启动不了。
刚刚不是说milvus 2.6可以启动吗 milvus 2.6.22下,fastgpt 4.16.2 下呢
milvus 2.6.22下,fastgpt 4.16.2 下,可以了,删除 collection modeldata_v2之后可以了,但是数据量是0。接着开始执行迁移操作?
现在先尝试把milvus恢复一下,需要进入etcd执行命令,需要小心执行
- 查看 etcdctl get --endpoints=127.0.0.1:2379 by-dev/meta/session/ --prefix=true --keys-only=true 1)应该同时有161和162,2)确认前缀全部是以 by-dev/meta/session/ 开头
- 清理 etcdctl --endpoints=127.0.0.1:2379 del by-dev/meta/session/ --prefix
- 重启 milvus 2.5
如果没有by-dev/meta/session/ 开头的数据,可能是版本不同,先查一下 etcdctl --endpoints=127.0.0.1:2379 get by-dev/ --prefix --keys-only | grep -iE "serverid|session/id|161|162"
操作之后,milvus 2.5无法启动,只能在2.6.22下启动
重启fastgpt,还会报错吗 如果fastgpt报错,1. 安装一下milvus-attu,删除 collection modeldata_v2 2. 删除collection之后将milvus改为2.5.16,再重启fastgpt测试下
重启fastgpt,会报错无法连接到milvus,milvus没准备好,因为milvus无限重启,启动不了。
刚刚不是说milvus 2.6可以启动吗 milvus 2.6.22下,fastgpt 4.16.2 下呢
milvus 2.6.22下,fastgpt 4.16.2 下,可以了,删除 collection modeldata_v2之后可以了,但是数据量是0。接着开始执行迁移操作?
嗯嗯 这个issue暂时结论如下:不确定是什么原因,我这边没有复现出来;仅记录一下,暂无需更改代码和文档;
I'll work on this. Could you assign it to me?
I'll look at the current code, add a focused test, and send a small PR.
@c121914yu