milvus-io / milvus

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

[Bug]: milvus crash after dropping a collection if compaction disabled #35396

Open yanliang567 opened 1 month ago

yanliang567 commented 1 month ago

Is there an existing issue for this?

Environment

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

Current Behavior

milvus crash image

Expected Behavior

no crash

Steps To Reproduce

1. update milvus config to disable compaction
dataCoord:
      enableCompaction: false
      compaction:
        enableAutoCompaction: false
2. create a collection
3. insert one entity and flush for 50 times
4. build index and load
5. drop the collection

Milvus Log

pod names in 4am

yanliang-246-etcd-0                                               1/1     Running            0               126m   10.104.32.65    4am-node39   <none>           <none>
yanliang-246-milvus-standalone-7cd8b99968-jlqc4                   0/1     Running            5 (19s ago)     126m   10.104.4.47     4am-node11   <none>           <none>
yanliang-246-minio-656ff59b9-tvwdn                                1/1     Running            0               126m   10.104.32.64    4am-node39   <none>           <none>

Anything else?

No response

yanliang567 commented 1 month ago

/assign @weiliu1031 /unassign