milvus-io / milvus

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

[Enhancement]: make TransferChannel/TransferSegment idempotent #36488

Open weiliu1031 opened 2 hours ago

weiliu1031 commented 2 hours ago

Is there an existing issue for this?

What would you like to be added?

when call TransferChannel/TransferSegment, querycoord will generate and submit balance task to scheduler, if segment/channel's task already exist in scheduler, submit task will failed.

to make TransferChannel/TransferSegment idempotent, we should skip to submit if task already exist in scheduler.

Why is this needed?

No response

Anything else?

No response

weiliu1031 commented 2 hours ago

/assign