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

Version the key/value layouts of each column family #16

Open
adamretter opened this issue Nov 6, 2020 · 0 comments
Open

Version the key/value layouts of each column family #16

adamretter opened this issue Nov 6, 2020 · 0 comments

Comments

@adamretter
Copy link
Member

adamretter commented Nov 6, 2020

At the moment we serialize/deserialize data into each column family according to one or more fixed layouts.

For future proofing, we should store the version of the layout. At startup we should check the versions. We could also provide functions for each layout to move from version n to version n+1, which would enable a seamless migration at startup.

Another option might be to investigate using a serialization/deserialization format which might allow backwards compatibility e.g. Protobuf, Cap'n Proto, etc.

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