Hi guys, do we have a way of creating offline snapshots safely while there is an active application which continues to log new events?
I thought of just instantiating a new instance of the application and pointing it to the same journal but then I wasn't sure how "safe" it would be and if there was a chance of corrupting the sequence number value by doing this.
It would be awesome if I could have a "read-only" replay of events onto my event sourced actor and then have it take a snapshot which I can use later for recovery or as a method of rebuilding internal state after a code change affected the structure of internal actor state for faster recovery on deployment of this change.
e.g.
Version 1 of Eventsourced Actor A is in production.
Version 2 of Eventsourced Actor A is in test/staging
I create an offline snapshot using Version 2 upto sequence number M
I deploy Version 2 to production, it picks up the snapshot with last command with sequence number M and continues to recover by replaying all events after M
Thanks,
Hiral