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

feat(core): purge old state conditionally #2035

Closed
wants to merge 1 commit into from
Closed

Conversation

onur-ozkan
Copy link
Member

Implements a mechanism to purging old state depending on value of the stamp file.

Resolves #2033

@onur-ozkan onur-ozkan added enhancement New feature or request under review labels Dec 15, 2023
@onur-ozkan onur-ozkan changed the title purge old state conditionally feat(core): purge old state conditionally Dec 15, 2023
Copy link
Member

@artemii235 artemii235 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I propose to close this. We shouldn't ever automatically remove the entire database because it may contain essential data for swaps and maybe something else. In general, if existing data is not compatible with a new version, the data must be migrated to a new format.

@onur-ozkan onur-ozkan closed this Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request under review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants