Skip to content

After deleteing Collection, the corresponding Index Build Tasks still exist and in running. #41800

Discussion options

You must be logged in to vote

In index node, each index task is for one segment. When you call the drop_index() interface, the index node will cancel all the index tasks that are queued and not executed. The ongoing task cannot be canceled, index node will wait until it is finished.
So, after you drop the index and restart the milvus, the index node should be idle.

drop_index() must be called after release_collection(). So, after you drop the index and restart the milvus, the collection should not be loaded, the milvus should only consume a few memory.

Replies: 4 comments 12 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

yhmo May 19, 2025
Collaborator

@zhongshanhao
Comment options

@yhmo
Comment options

yhmo May 19, 2025
Collaborator

@zhongshanhao
Comment options

@yhmo
Comment options

yhmo May 19, 2025
Collaborator

Answer selected by zhongshanhao
Comment options

You must be logged in to vote
1 reply
@zhongshanhao
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants