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] [BanyanDB] Support some incompatible schema upgrade through versionized group mechanism #12796

Open
wu-sheng opened this issue Nov 24, 2024 · 0 comments
Assignees
Labels
backend OAP backend related. feature New feature
Milestone

Comments

@wu-sheng
Copy link
Member

wu-sheng commented Nov 24, 2024

Considering #12442, let's add a database version number concept in OAP codebase. Once we have this in place, we have a chance to do incompatible upgrade through two group.

e.g. banyandb_db_schema_v = 1, and we need some incompatible upgrade, introduced a new kind of index, but the query logic is consistent. We could do banyandb_db_schema_v=2(compatible with banyandb_db_schema_v=1).

Then, when we apply definition change through create new schema_v suffix groups.

@wu-sheng wu-sheng added this to the 10.3.0 milestone Nov 24, 2024
@wu-sheng wu-sheng added backend OAP backend related. feature New feature labels Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend OAP backend related. feature New feature
Projects
None yet
Development

No branches or pull requests

2 participants