Skip to content

Snapshots are not used only for optimization #11

@object

Description

@object

I don't know if you still maintain this project @Horusiath but we are actively using your library so I'd like to address an issue with snapshotting.

  1. It would be great if snapshots could be switched on and off. Settings don't have a property for that. Can this be achieved by setting SnapshotInterval to a number that can not be reached, like MaxInt?

  2. Snapshots are not used only for optimization. The way they are implemented makes them contain data that are no longer present in the EventJournal table (because it's cleaned after saving a snapshot). This goes against the principle of snapshot being a copy of data. Deleting a snapshot causes data loss. Can this be changed? If you agree that's a good idea I can work on a PR for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions