ITRS-Group / monitor-merlin

Module for Effortless Redundancy and Loadbalancing In Naemon
https://itrs-group.github.io/monitor-merlin/
GNU General Public License v2.0
22 stars 14 forks source link

Binlog: store persistently over restarts #101

Closed jacobbaungard closed 3 years ago

jacobbaungard commented 3 years ago

With this commit we now persistently store the binlog to file when merlin shuts down, and read it again during startup. This ensures that no events are missed if a node is restarted with disconnected nodes.

This functionality can be disabled by setting binlog_persist = 0 in the configuration file.

This fixes: MON-10734 & #29

Signed-off-by: Jacob Hansen jhansen@op5.com

sjoegren commented 3 years ago

Okay, looks good. Nice work!