Skip to content

milvus backup crossStorage side effect #39230

Discussion options

You must be logged in to vote

@huanghaoyuanhhy is the new maintainer of the milvus-backup.

The crossStorage is used here, assigned to the method NewCopier():
https://github.com/zilliztech/milvus-backup/blob/731d697b6bc64abc9e23acde12f1f8caed7a2fe3/core/backup_context.go#L246

The NewCopier() method returns a Copier object for copying data files from source to target storage. If the crossStorage is true, the Copier.copyByServer() is called:
https://github.com/zilliztech/milvus-backup/blob/731d697b6bc64abc9e23acde12f1f8caed7a2fe3/core/storage/copier.go#L254

The Copier.copyByServer() gets a Reader from the source storage and calls UploadObject() of the target storage:
https://github.com/zilliztech/milvus-backup/blob/731d6…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@yhmo
Comment options

yhmo Jan 14, 2025
Collaborator

Answer selected by rere950303
@rere950303
Comment options

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