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

Protection against "upgrading" a repository #717

Open
paraseba opened this issue Feb 11, 2025 · 0 comments
Open

Protection against "upgrading" a repository #717

paraseba opened this issue Feb 11, 2025 · 0 comments

Comments

@paraseba
Copy link
Collaborator

We expect repositories to live much longer than a single Icechunk version. As such, it's expected that a repository will have a mix of files generated with different versions of the spec.

Icechunk guarantees backwards compatibility, newer versions will be able to read repos written with previous versions (up to some limit potentially)

Icechunk does not promise that users will be able to read with older Icechunk versions, repos written with newer versions.

So it's easy to mistakenly do a small write to a Repository, with a new version, and invalidate the repo for all other users that are using a previous version.

There should be some protection against this, for example:

  • require some form of confirmation before writing to a repo with a newer spec version
  • require a manual step before allowing the upgrade
  • emit a warning (this sounds too weak)
@paraseba paraseba moved this to Ready in Icechunk 1.0 Feb 11, 2025
@paraseba paraseba removed this from Icechunk 1.0 Feb 20, 2025
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