Skip to content

[Bug]: client: bulk insert failed #1026

@yiziqing

Description

@yiziqing

Milvus-Backup Version

0.5.12

Can you reproduce this issue on the latest version?

Yes, it also happens on the latest version

Current Behavior

执行备份恢复时报错
命令:./milvus-backup restore --restore_index --config ./configs/backup.yaml -n multimedia_db_0402_backup -s _recover

错误日志:
[2026/04/14 09:14:17.322 +08:00] [ERROR] [restore/task.go:379] ["restore task failed"] [backup_name=multimedia_db_0402_backup] [task_id=424bd097-41b0-4c30-9d91-9795f15775aa] [error="restore: run collection task restore: wait restore collections restore: restore collection restore_collection: restore data: restore_collection: restore data v1: restore_collection: wait for partition restore: restore_collection: restore partition data v1: restore_collection: restore not L0 groups: restore_collection: bulk insert via grpc: restore_collection: bulk insert via grpc: restore_collection: failed to bulk insert via grpc: client: bulk insert failed: client: operation failed: error_code:UnexpectedError reason:"/milvus.proto.streaming.StreamingCoordBroadcastService/Broadcast; streaming error: code = STREAMING_CODE_UNKNOWN, cause = no binlog to import, input=[paths:\"restore-temp-424bd097-41b0-4c30-9d91-9795f15775aa-default-multimedia_db_0402_recover/binlogs/insert_log/465587859574228397/465587859574228398/465587859575700904/\" paths:\"\"]: importing data failed; rpc error: code = Unknown, desc = " code:65535 detail:"/milvus.proto.streaming.StreamingCoordBroadcastService/Broadcast; streaming error: code = STREAMING_CODE_UNKNOWN, cause = no binlog to import, input=[paths:\"restore-temp-424bd097-41b0-4c30-9d91-9795f15775aa-default-multimedia_db_0402_recover/binlogs/insert_log/465587859574228397/465587859574228398/465587859575700904/\" paths:\"\"]: importing data failed; rpc error: code = Unknown, desc = ""] [stack="github.com/zilliztech/milvus-backup/core/restore.(*Task).Execute\n\t/home/runner/work/milvus-backup/milvus-backup/core/restore/task.go:379\ngithub.com/zilliztech/milvus-backup/cmd/restore.(*options).run\n\t/home/runner/work/milvus-backup/milvus-backup/cmd/restore/restore.go:316\ngithub.com/zilliztech/milvus-backup/cmd/restore.NewCmd.func1\n\t/home/runner/work/milvus-backup/milvus-backup/cmd/restore/restore.go:375\ngithub.com/spf13/cobra.(*Command).execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1015\ngithub.com/spf13/cobra.(*Command).ExecuteC\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1148\ngithub.com/spf13/cobra.(*Command).Execute\n\t/home/runner/go/pkg/mod/github.com/spf13/cobra@v1.10.2/command.go:1071\ngithub.com/zilliztech/milvus-backup/cmd.Execute\n\t/home/runner/work/milvus-backup/milvus-backup/cmd/cmd.go:37\nmain.main\n\t/home/runner/work/milvus-backup/milvus-backup/main.go:20\nruntime.main\n\t/opt/hostedtoolcache/go/1.25.7/x64/src/runtime/proc.go:285"]
Error: restore: execute restore: run collection task restore: wait restore collections restore: restore collection restore_collection: restore data: restore_collection: restore data v1: restore_collection: wait for partition restore: restore_collection: restore partition data v1: restore_collection: restore not L0 groups: restore_collection: bulk insert via grpc: restore_collection: bulk insert via grpc: restore_collection: failed to bulk insert via grpc: client: bulk insert failed: client: operation failed: error_code:UnexpectedError reason:"/milvus.proto.streaming.StreamingCoordBroadcastService/Broadcast; streaming error: code = STREAMING_CODE_UNKNOWN, cause = no binlog to import, input=[paths:"restore-temp-424bd097-41b0-4c30-9d91-9795f15775aa-default-multimedia_db_0402_recover/binlogs/insert_log/465587859574228397/465587859574228398/465587859575700904/" paths:""]: importing data failed; rpc error: code = Unknown, desc = " code:65535 detail:"/milvus.proto.streaming.StreamingCoordBroadcastService/Broadcast; streaming error: code = STREAMING_CODE_UNKNOWN, cause = no binlog to import, input=[paths:"restore-temp-424bd097-41b0-4c30-9d91-9795f15775aa-default-multimedia_db_0402_recover/binlogs/insert_log/465587859574228397/465587859574228398/465587859575700904/" paths:""]: importing data failed; rpc error: code = Unknown, desc = "

备份目录下有文件465587859575810906,恢复备份时生成的临时文件夹中只有文件夹

Expected Behavior

No response

Steps To Reproduce

Environment

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions