Snapshots are not considered during loading of an Aggregate using Axon-Server-Connector #2285
Labels
Priority 1: Must
Highest priority. A release cannot be made if this issue isn’t resolved.
Status: Resolved
Use to signal that work on this issue is done.
Type: Bug
Use to signal issues that describe a bug within the system.
Milestone
Basic information
Steps to reproduce
I asked the question in the form here: https://discuss.axoniq.io/t/restoring-es-aggregates-from-aggregatesnapshot/4242
The snapshotter is storing events in Axon Server, but during the load of the aggregate the snapshots are not considered, but the entire event stream is loaded. Switching the event store from Axon Server to for example JPA Event Store fixes the problem. In JPA Event Store the latest snapshot is loaded followed by the sequence of events occurred after the snapshot only.
Expected behaviour
Axon Server Connector uses snapshots to load the state of the aggregate and applies the events occurred after snapshot only.
Actual behaviour
Axon Server Connector is ignoring snapshots to load the state of the aggregate and applies the events from the initial to the latest.
The text was updated successfully, but these errors were encountered: