[Bug]: backup error
CyanMystery opened this issue · 0 comments
Current Behavior
[ERROR] [core/backup_impl_create_backup.go:361] ["fail to flush the collection"] [databaseName=default] [collectionName=my_b] [error="channel not found[channel=by-dev-rootcoord-dml_11_451014385621535341v0]"] [errorVerbose="channel not found[channel=by-dev-rootcoord-dml_11_451014385621535341v0]\n(1) attached stack trace\n -- stack trace:\n | github.com/milvus-io/milvus-sdk-go/v2/client.handleRespStatus\n | \t/root/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).FlushV2\n | \t/root/go/pkg/mod/github.com/wayblink/milvus-sdk-go/v2@v2.3.0-beta4.0.20240607085051-1ac5aaf24c6d/client/insert.go:213\n | github.com/zilliztech/milvus-backup/core.(*MilvusClient).FlushV2\n | \t/root/milvus-backup/core/milvus_sdk_wrapper.go:94\n | github.com/zilliztech/milvus-backup/core.(*BackupContext).backupCollectionPrepare\n | \t/root/milvus-backup/core/backup_impl_create_backup.go:359\n | github.com/zilliztech/milvus-backup/core.(*BackupContext).executeCreateBackup.func1.1\n | \t/root/milvus-backup/core/backup_impl_create_backup.go:674\n | github.com/zilliztech/milvus-backup/internal/util/retry.Do\n | \t/root/milvus-backup/internal/util/retry/retry.go:37\n | github.com/zilliztech/milvus-backup/core.(*BackupContext).executeCreateBackup.func1\n | \t/root/milvus-backup/core/backup_impl_create_backup.go:673\n | github.com/zilliztech/milvus-backup/internal/common.(*WorkerPool).work.func1\n | \t/root/milvus-backup/internal/common/workerpool.go:70\n | golang.org/x/sync/errgroup.(*Group).Go.func1\n | \t/root/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75\n | runtime.goexit\n | \t/usr/local/golang/go/src/runtime/asm_amd64.s:1695\nWraps: (2) channel not found[channel=by-dev-rootcoord-dml_11_451014385621535341v0]\nError types: (1) *withstack.withStack (2) *errutil.leafError"] [stack="github.com/zilliztech/milvus-backup/core.(*BackupContext).backupCollectionPrepare\n\t/root/milvus-backup/core/backup_impl_create_backup.go:361\ngithub.com/zilliztech/milvus-backup/core.(*BackupContext).executeCreateBackup.func1.1\n\t/root/milvus-backup/core/backup_impl_create_backup.go:674\ngithub.com/zilliztech/milvus-backup/internal/util/retry.Do\n\t/root/milvus-backup/internal/util/retry/retry.go:37\ngithub.com/zilliztech/milvus-backup/core.(*BackupContext).executeCreateBackup.func1\n\t/root/milvus-backup/core/backup_impl_create_backup.go:673\ngithub.com/zilliztech/milvus-backup/internal/common.(*WorkerPool).work.func1\n\t/root/milvus-backup/internal/common/workerpool.go:70\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/root/go/pkg/mod/golang.org/x/sync@v0.3.0/errgroup/errgroup.go:75"]
Expected Behavior
No response
Steps To Reproduce
./milvus-backup create -n my_backup
Environment
milvis v2.4.0-rc.1
Anything else?
backup.yaml:
minio:
cloudProvider: "minio" # deprecated use storageType instead
storageType: "minio" # support storage type: local, minio, s3, aws, gcp, ali(aliyun), azure, tc(tencent)
address: localhost # Address of MinIO/S3
port: 9000 # Port of MinIO/S3
accessKeyID: minioadmin # accessKeyID of MinIO/S3
secretAccessKey: minioadmin # MinIO/S3 encryption string
useSSL: false # Access to MinIO/S3 with SSL
useIAM: false
iamEndpoint: ""
bucketName: "a-bucket" # Milvus Bucket name in MinIO/S3, make it the same as your milvus instance
rootPath: "files" # Milvus storage root path in MinIO/S3, make it the same as your milvus instance
Check backetName, rootPath and milvus for consistency