Automatic Restart on Inactivity
What’s new?
We’ve added an automatic restart feature to Data Replication, which monitors for inactivity and restarts the system when needed. This update significantly reduces the risk of extended periods of inactivity in data replication processes, ensuring more consistent and reliable operation.
A new configuration option lets users set how long the system can be inactive before it automatically restarts. This includes the following changes:
- New option in the application.properties file to set the inactivity threshold before restart
- Monitoring system that checks for getdata call logs in the Data-mirror log file
- Automatic restart of the dm application from the launcher if no logs have been added within the specified time frame
Note: This feature is only available for installations using the self-updating JAR file.
Configuration
A new configuration option has been added to application.properties:
- inactivity.threshold.minutes: Sets the number of minutes of no activity before the application restarts
- Default value: 10 minutes
Why does it matter?
This feature improves the reliability of Data Replication by preventing unplanned processing stops. It minimizes disruptions and ensures smoother operations, benefiting users who rely on consistent data processing. We can now proactively address issues without waiting for alerts, reducing downtime and enhancing system performance.