Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

希望请求删除文件的 api 时,删除本地 QANY_DB 中的本地文件 #398

Open
Halfknow opened this issue Jun 13, 2024 · 0 comments

Comments

@Halfknow
Copy link

Please Describe The Problem To Be Solved

希望:请求删除文件的 api 时,删除本地 QANY_DB 中的本地文件。
当前情况:目前在后台或调用删除接口时,仅删除了在mysql中的文件列表,但没有删除 QANY_DB 中的本地文件,造成本地文件数量过多。

(Optional): Suggest A Solution

建议:通过 file_id 可以用python 的 os 库直接对本地文件进行操作,删除相应的文件,目前不确定是否 milvus 中缓存的向量数据会被删除,如果也未被清理的话建议能一并清理。

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

No branches or pull requests

1 participant