Sync right after the watchdog expires. This would be extremely useful for detecting whether a node fenced.
Signed-off-by: Maximiliano Sandoval <m.sando...@proxmox.com> --- src/watchdog-mux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/watchdog-mux.c b/src/watchdog-mux.c index 0518e86..2287625 100644 --- a/src/watchdog-mux.c +++ b/src/watchdog-mux.c @@ -259,6 +259,7 @@ int main(void) { if ((ctime - client_list[i].time) > CLIENT_WATCHDOG_TIMEOUT) { update_watchdog = 0; fprintf(stderr, "client watchdog expired - disable watchdog updates\n"); + sync_journal_unsafe(); } } } -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel