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

Datastore not persisted on initial start #1325

Closed
fredcarle opened this issue Apr 11, 2023 · 1 comment
Closed

Datastore not persisted on initial start #1325

fredcarle opened this issue Apr 11, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@fredcarle
Copy link
Collaborator

Describe the problem
When starting DefraDB for the first time (no DefraDB root dir) the datastore isn't persisted until restart. This means that if you start, stop, and then start again DefraDB, the data written from that point on will persist. But if writing data on the first start and then stop, and start the DB again, none of that data will be persisted.

To Reproduce

  • Fresh start of DefraDB with no existing root dir.
  • Write data
  • Stop and Start DefraDB
  • Do a DB dump
  • The datastore will be clean.

Expected behavior
Data should persist after first start

Platform
(c546ca4 2023-04-05) built with Go 1.19.7 darwin/arm64

Additional context
nil

@fredcarle fredcarle added the bug Something isn't working label Apr 11, 2023
@fredcarle
Copy link
Collaborator Author

Already covered and fixed by #1299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant