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

Cleanup of prior versions of milvus lite when installing the latest version #91

Open
YasharF opened this issue Mar 4, 2024 · 0 comments

Comments

@YasharF
Copy link

YasharF commented Mar 4, 2024

Hi there! I’ve been using Milvus Lite by running the command pip install milvus in WSL/Ubuntu. However, I’ve noticed an issue related to version management during installation.

Current Behavior:

When installing a new version of Milvus Lite, the server files are placed in ~/.milvus.io/milvus-server/[version].

  • Unfortunately, it looks like the installation script doesn't handle the older versions that have been already installed.
  • As a result, each new version creates a new folder, consuming approximately 500 MB of disk space.
  • There’s no notification or guidance provided to users about these older versions.

Desired Behavior:

The installation script is enhanced to:

  • Detect the presence of older Milvus Lite server versions.
  • Provide clear instructions to users about the existing version(s) and how to clean them up (aka rm -rf ~/.milvus.io/milvus-server/3.2.13 I'm not sure if this is safe to do)
  • Optionally, offer an automated way to remove older versions.

This improvement would prevent unnecessary bloating of the file system. Thank you for considering this enhancement!

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