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 version compare -- only crr schema version matters #318

Open
tantaman opened this issue Aug 10, 2023 · 0 comments
Open

schema version compare -- only crr schema version matters #318

tantaman opened this issue Aug 10, 2023 · 0 comments

Comments

@tantaman
Copy link
Collaborator

tantaman commented Aug 10, 2023

schema version is used in two ways:

  1. Determining if we need to automigrate
  2. Determining if nodes can sync to one another

For (2), we only need to version the crr bits of the schema.
For (1), we need to version the entire schema.

Peers could diverge (esp in client-server setups) and have their own set of local-only tables. Given that, it'd be pretty important to bifurcate the version along crr vs not crr lines.

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