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

Schema evolution? #3

Open
jfallows opened this issue Jan 11, 2017 · 0 comments
Open

Schema evolution? #3

jfallows opened this issue Jan 11, 2017 · 0 comments
Labels

Comments

@jfallows
Copy link
Contributor

Given that the flyweights are used to communicate via shared memory, which is concurrently visible to multiple processes, it is likely that on occasion different versions of a flyweight schema will be in use.

We either need to detect and fail such scenarios, or allow older flyweights to continue to work if possible.

For example, if a new required field is added in v3 of a schema, then a v2 schema flyweight can read the data, but if a v2 schema flyweight is used to write some data, a v3 schema flyweight would fail validation.

We also need to take inheritance into consideration, such that the base type might add a new field, either fixed size or dynamic size.

@jfallows jfallows changed the title schema evolution? Schema evolution? Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant