Project: mule
Issue MULE-7649: VM persisted messages disappear after an unexpected shutdown.
After an unexpected shutdown, the vm queues continues processing but most messages are lost. Reproduce: - Deploy the app - Send and http request to: http://localhost:8080/vm with the required headers, as an example: ammount=10000, recordSize=2K - Wait for "all persisted" message shown in the app logs. - Kill the instance using kill -9 pid, using the one returned by "ps -ax | grep 'mule.home=' | grep -v grep | awk '{ print $1}'", not MULE_HOME/bin/mule status wich returns the tanuki pid. - Mule will automatically restart. - Check app logs to see what is processed. Expected: only a few messages are lost, the countdown should get to 1. Actual: only a few messages finishes processing after the restart.
Story points: 8