milvus-io / milvus

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

[Enhancement]: Mark cgo pool with thread name #37999

Open congqixia opened 4 days ago

congqixia commented 4 days ago

Is there an existing issue for this?

What would you like to be added?

Use system API to mark cgo thread to make it easier to distinguish extra unexpected threads

Why is this needed?

Thread number is crucial to Milvus performance, with customized thread name, it is convenient for developer to locate the "leaked" thread source

Anything else?

No response