[OpenNMS/opennms] 0162a0: NMS-20109: Survive status signals while gated; hea...
Chandra Gorantla via opennms-cvs <[email protected]> Mon, 03 Aug 2026 11:38:57 -0700
| Newsgroups | gmane.network.opennms.cvs |
|---|---|
| Message-ID | <OpenNMS/opennms/push/refs/heads/features/ha-management/[email protected]> |
Branch: refs/heads/features/ha-management
Home: https://github.com/OpenNMS/opennms
Commit: 0162a0d4ccf0af160280dd551956183f5c53d9de
https://github.com/OpenNMS/opennms/commit/0162a0d4ccf0af160280dd551956183f5c53d9de
Author: Chandra Gorantla <[email protected]>
Date: 2026-08-03 (Mon, 03 Aug 2026)
Changed paths:
M core/daemon/src/main/java/org/opennms/netmgt/vmmgr/Invoker.java
M core/daemon/src/main/java/org/opennms/netmgt/vmmgr/Starter.java
M features/ha-management/ha-daemon/src/main/java/org/opennms/netmgt/ha/HaStartupCoordinator.java
M features/ha-management/ha-daemon/src/test/java/org/opennms/netmgt/ha/HaStartupCoordinatorTest.java
Log Message:
-----------
NMS-20109: Survive status signals while gated; heartbeat through the drain
- register the SIGUSR1 status handler before the startup gate can block,
so "opennms status" no longer kills a waiting standby; an empty status
file is written when no services exist yet
- keep the heartbeat publishing liveness until the terminal state is
written post-drain: the partner promotes on the state write, never on
staleness beside a still-draining node (a hung drain is escalated by
the service manager's stop timeout)
- promote when the partner row stays missing beyond the failover
threshold instead of waiting forever
- serialize config-sync passes so a reschedule cannot overlap a
still-running pass
To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs