Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Can not backup DB with sparse vector field. #367

Open
XinyuDu opened this issue Jun 26, 2024 · 2 comments
Open

[Bug]: Can not backup DB with sparse vector field. #367

XinyuDu opened this issue Jun 26, 2024 · 2 comments

Comments

@XinyuDu
Copy link

XinyuDu commented Jun 26, 2024

Current Behavior

Ubuntu 20.04
Milvus v2.4.1
Milvus-backup v0.4.15

Cannot backup the db with sparse vector field.

[2024/06/25 08:18:49.561 +00:00] [INFO] [core/backup_impl_restore_backup.go:721] ["execute bulk insert"] [db=default] [collection=_123a5fee_0ab7_4431_b0d3_f6807fba5ae5_47f641da_e708_47f0_b4a0_89abf1544bb0_recover] [partition=_default] [files="[backup/test_backup/binlogs/insert_log/450567692780131941/450567692780131942/450684820018465243/,]"] [endTime=450705079402496] [2024/06/25 08:18:49.570 +00:00] [INFO] [core/backup_impl_restore_backup.go:764] ["bulkinsert task state"] [id=450684820018637211] [state=0] [state="{\"ID\":0,\"State\":0,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"\",\"progress_percent\":\"0\"},\"CollectionID\":0,\"SegmentIDs\":null,\"CreateTs\":1719303529}"] [progress=0] [currentTimestamp=1719303529] [lastUpdateTime=1719303529] [2024/06/25 08:18:54.575 +00:00] [INFO] [core/backup_impl_restore_backup.go:764] ["bulkinsert task state"] [id=450684820018637211] [state=1] [state="{\"ID\":0,\"State\":1,\"RowCount\":0,\"IDList\":null,\"Infos\":{\"failed_reason\":\"Wrong rows type: invalid parameter[expected=SparseFloatVectorFieldData][actual=contents:\\\"\\\\004\\\\000\\\\000\\\\000\\\\000\\\\240\\\\022=\\\\005\\\\000\\\\000\\\\000\\\\000\\\\000\\\\022=\\\\006\\\\000\\\\000\\\\000\\\\000 \\\\022=\\\\020\\\\000\\\\000\\\\000\\\\000\\\\240\\\\021=\\\\036\\\\000\\\\000\\\\000\\\\000\\\\300\\\\021=%\\\\000\\\\000\\\\000\\\\000\\\\240\\\\022=+\\\\000\\\\000\\\\000\\\\000\\\\240\\\\022=J\\\\000\\\\000\\\\000\\\\000@\\\\022=\\\\204\\\\000\\\\000\\\\000\\\\000\\\\300\\\\022=\\\\233\\\\000\\\\000\\\\000\\\\000\\\\000\\\\020=\\\\325\\\\000\\\\000\\\\000\\\\000\\\\200\\\\022=\\\\010\\\\001\\\\000\\\\000\\\\000\\\\340\\\\201=k\\\\001\\\\000\\\\000\\\\000\\\\300f\\u003c\\\\321\\\\001\\\\000\\\\000\\\\000\\\\340\\\\021=\\\\326\\\\001\\\\000\\\\000\\\\000\\022=\\347\\001\\000\\000\\000\\3409\u003c\\002\\002\\000\\000\\000\\\\022=2\\\\002\\\\000\\\\000\\\\000 \\\\021=?\\\\002\\\\000\\\\000\\\\000\\\\340\\\\021=v\\\\002\\\\000\\\\000\\\\000@\\\\022={\\\\002\\\\000\\\\000\\\\000\

Expected Behavior

No response

Steps To Reproduce

No response

Environment

Ubuntu 20.04
Milvus v2.4.1
Milvus backup v0.4.15

Anything else?

No response

@wayblink
Copy link
Collaborator

@bigsheeper Please help see this? Is SparseFloatVector supported in Bulkinsert?

@wayblink
Copy link
Collaborator

@XinyuDu SparseFloatVector restore is only supported after 2.4.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants