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

New Snapshot Store Schema #316

Closed
octonato opened this issue Jan 10, 2020 · 1 comment
Closed

New Snapshot Store Schema #316

octonato opened this issue Jan 10, 2020 · 1 comment
Assignees
Milestone

Comments

@octonato
Copy link
Member

octonato commented Jan 10, 2020

Like the journal store, the new snapshot will have a few more fields:

  • ser_id (Int)
  • ser_manifest (String)
  • snapshot_payload (String)

We need to refactor the Snapshot DAO for that new format.

The current table is snapshot. Because we don't want destructive migrations, we can add a new schema table called snapshots. New users can just start using it from version 4.0.0 onward. Existing users will need to run the migration procedure to copy their data from snapshot to snapshots.

ByteArraySnapshotSerializer should be moved to the migration module as we will need it for running migrations (reading old data from snapshot table).

@octonato octonato added this to the 4.0.0 milestone Jan 10, 2020
@patriknw patriknw modified the milestones: 4.0.0, 5.0.0 Mar 30, 2020
@chbatey
Copy link
Member

chbatey commented Jan 11, 2021

#467

@chbatey chbatey closed this as completed Jan 11, 2021
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

3 participants