Hello all,
We have millions of open sagas (around 17 million entries in association_value_entry
) and my database size is about 900GB.
I need to close these sagas but want to avoid overloading the event bus by publishing a closing event for each saga.
Is it possible in Axon to close sagas programmatically without having to send an event through the event bus? What would be the best practice to handle large-scale saga cleanup without flooding the event system?
The application has been running in production for the past three years with a major development issue related to sagas: they were started but never properly closed.
This explains the growing database size and the large number of entries in the association_value_entry
table.