milvus-io / milvus

A cloud-native vector database, storage for next generation AI applications
https://milvus.io
Apache License 2.0
29.27k stars 2.81k forks source link

[Bug]: index type not match: invalid parameter[expected=STL_SORT][actual=Ascending] #34707

Closed xige-16 closed 6 days ago

xige-16 commented 1 month ago

Is there an existing issue for this?

Environment

- Milvus version:
- Deployment mode(standalone or cluster):
- MQ type(rocksmq, pulsar or kafka):    
- SDK version(e.g. pymilvus v2.0.0rc2):
- OS(Ubuntu or CentOS): 
- CPU/Memory: 
- GPU: 
- Others:

Current Behavior

[2024/07/03 13:03:20.074 +00:00] [ERROR] [core/backup_impl_restore_backup.go:357] ["executeRestoreCollectionTask failed"] [TargetDBName=default] [TargetCollectionName=retrieve] [error="index type not match: invalid parameter[expected=STL_SORT][actual=Ascending]"] [errorVerbose="index type not match: invalid parameter[expected=STL_SORT][actual=Ascending]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus-sdk-go/v2/client.handleRespStatus\n | \t/go/pkg/mod/github.com/wayblink/milvus-sdk-go/v2@v2.3.0-beta4.0.20240607085051-1ac5aaf24c6d/client/collection.go:39\n | github.com/milvus-io/milvus-sdk-go/v2/client.(GrpcClient).CreateIndex\n | \t/go/pkg/mod/github.com/wayblink/milvus-sdk-go/v2@v2.3.0-beta4.0.20240607085051-1ac5aaf24c6d/client/index.go:132\n | github.com/zilliztech/milvus-backup/core.(MilvusClient).CreateIndex\n | \t/app/core/milvus_sdk_wrapper.go:186\n | github.com/zilliztech/milvus-backup/core.(BackupContext).executeRestoreCollectionTask\n | \t/app/core/backup_impl_restore_backup.go:541\n | github.com/zilliztech/milvus-backup/core.(BackupContext).executeRestoreBackupTask.func1\n | \t/app/core/backup_impl_restore_backup.go:355\n | github.com/zilliztech/milvus-backup/internal/common.(WorkerPool).work.func1\n | \t/app/internal/common/workerpool.go:70\n | golang.org/x/sync/errgroup.(Group).Go.func1\n | \t/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75\n | runtime.goexit\n | \t/usr/local/go/src/runtime/asm_amd64.s:1571

\nWraps: (2) index type not match: invalid parameter[expected=STL_SORT][actual=Ascending]\nError types: (1) withstack.withStack (2) errutil.leafError"] [stack=" github.com/zilliztech/milvus-backup/core.(BackupContext).executeRestoreBackupTask.func1\n\t /app/core/backup_impl_restore_backup.go:357\n github.com/zilliztech/milvus-backup/internal/common.(WorkerPool).work.func1\n\t/app/internal/common/workerpool.go:70\n golang.org/x/sync/errgroup.(*Group).Go.func1\n\t/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75"]

Expected Behavior

No response

Steps To Reproduce

No response

Milvus Log

No response

Anything else?

No response

xige-16 commented 1 month ago

link issue: https://github.com/milvus-io/milvus/issues/27187 fix pr has typos

yanliang567 commented 1 month ago

/assign @czs007 please help to review the pr /unassign

xiaofan-luan commented 1 month ago

/lgtm /approve

stale[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.