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

[FEATURE] Meta version check and migration #78

Closed
yhmo opened this issue Oct 22, 2019 · 1 comment
Closed

[FEATURE] Meta version check and migration #78

yhmo opened this issue Oct 22, 2019 · 1 comment
Assignees
Labels
kind/enhancement Issues or changes related to enhancement

Comments

@yhmo
Copy link
Contributor

yhmo commented Oct 22, 2019

Is your feature request related to a problem? Please describe.
I wish I could use Milvus to check meta version before server start. For old version meta, if it is migrate-able, Milvus migrate it automatically, otherwise, Milvus should give an error message and exit.

Describe the solution you'd like

  1. Add a new column into meta, column name: 'version'.
  2. Add new interface to Meta class: Status Migrate();
  3. Implement the new interface for SqliteMetaImpl/MySQLMetaImpl class;
  4. Call Migrate() in DBImpl::Start();
@yhmo yhmo self-assigned this Oct 24, 2019
@yhmo yhmo added the kind/enhancement Issues or changes related to enhancement label Oct 24, 2019
@yhmo
Copy link
Contributor Author

yhmo commented Nov 15, 2019

migration script has been added into project

@yhmo yhmo closed this as completed Nov 15, 2019
MrPresent-Han pushed a commit to MrPresent-Han/milvus that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Issues or changes related to enhancement
Projects
None yet
Development

No branches or pull requests

1 participant