Here’s the situation: we need to update from 4.2.4 to 4.4.1 (due to this issue: https://github.com/AxonIQ/axon-server-se/issues/105, 4.2.4 doesn’t start anymore).
When we start up AxonServer 4.4.1 on our current data with (
/opt/axonserver/data is a Docker-mounted directory with all the files in it):
- AXONIQ_AXONSERVER_EVENT_STORAGE=/opt/axonserver/data - AXONIQ_AXONSERVER_SNAPSHOT_STORAGE=/opt/axonserver/data - AXONIQ_AXONSERVER_CONTROLDB-PATH=/opt/axonserver/data
It starts up just fine, no issues. But once we fire a new event on any of our Aggregates (which have many thousands events on them), AxonServer doesn’t seem to find our snapshots and starts rebuilding the aggregate from scratch.
I know this because I see in the logs that thousands of upcasters are executed (and also it takes a loooooooong time to process. In fact I don’t know how long because I have never let it finish and just terminted after some minutes).
So, any ideas why 4.4.1 doesn’t find our snapshots?
Or, can I somehow enable “debug logging for snapshot logic” to get some more insight into why it doesn’t load the snaphots?