Skip to content

feat: make store init idempotent#1609

Merged
ellie merged 1 commit intomainfrom
ellie/idempotent-import
Jan 22, 2024
Merged

feat: make store init idempotent#1609
ellie merged 1 commit intomainfrom
ellie/idempotent-import

Conversation

@ellie
Copy link
Member

@ellie ellie commented Jan 22, 2024

Make the history store init idempotent

This ensures the user cannot import the same data from the database multiple times

Useful for the case where the user toggles the record store sync on/off, and to ensure accidents don't lead to store bloat.

@ellie ellie merged commit 600ebc3 into main Jan 22, 2024
@ellie ellie deleted the ellie/idempotent-import branch January 22, 2024 16:48
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

Successfully merging this pull request may close these issues.

1 participant