Hello dear friends,
We tried to get a full snapshot of all aggregates but there is discrepancy between the quantity of unique Aggregate IDs in the events table and snapshots table.
- We are getting AggregateIDs from
select d.aggregateIdentifier from DomainEventEntry d where d.type=:aggregateName group by d.type,d.aggregateIdentifier order by d.timeStamp
-
Using AggregateIDs from the first request we create snapshots for each of it: org.axonframework.eventsourcing.Snapshotter.scheduleSnapshot(Aggregat.class, aggregateIdentifierId)
-
Comparing number of snapshots with unique AggIDs, there is a discrepancy of 31000 to 39000. Number of snapshots are less.
What we are doing wrongly?
Thanks,
Rashid