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

Initial snapshot when PersistenceMode is ManualSnapshots #24

Open
loofbon opened this issue Jul 2, 2017 · 1 comment
Open

Initial snapshot when PersistenceMode is ManualSnapshots #24

loofbon opened this issue Jul 2, 2017 · 1 comment
Assignees
Labels

Comments

@loofbon
Copy link

loofbon commented Jul 2, 2017

Even when PersistenceMode is set to ManualSnapshots, an initial journal entry is still created on disk. Not sure if there’s any way to avoid/defer this for cases when the database is intended to be ephemeral.

@rofr rofr added the bug label Jul 3, 2017
@rofr rofr self-assigned this Jul 3, 2017
@rofr
Copy link
Member

rofr commented Jul 3, 2017

Good catch, that shouldn't be the case. This is not a fully explored feature, neither in tests nor production use cases. After a quick peek at the code, this looks like it will be a fairly simple change. Meanwhile, if you want to turn off persistence altogether you can use the in memory storage components:

https://github.com/DevrexLabs/OrigoDB/blob/dev/src/OrigoDB.Core/Configuration/ConfigurationExtensions.cs#L14-L19

achimismaili pushed a commit to achimismaili/featureadmin that referenced this issue May 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants