[OpenNMS/opennms] 7751e8: NMS-20050: Prevent shutdown delays in Provisiond

Chandra Gorantla via opennms-cvs <[email protected]> Fri, 24 Jul 2026 10:23:02 -0700
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/cg/jira/NMS-20050/[email protected]>
  Branch: refs/heads/cg/jira/NMS-20050
  Home:   https://github.com/OpenNMS/opennms
  Commit: 7751e8b88c689453310c6eddf73347e73bdb303e
      https://github.com/OpenNMS/opennms/commit/7751e8b88c689453310c6eddf73347e73bdb303e
  Author: Chandra Gorantla <[email protected]>
  Date:   2026-07-24 (Fri, 24 Jul 2026)

  Changed paths:
    M opennms-provision/opennms-provisiond/src/main/resources/META-INF/opennms/applicationContext-provisiond.xml
    A opennms-provision/opennms-provisiond/src/test/java/org/opennms/netmgt/provision/service/ProvisiondExecutorLifecycleTest.java
    M opennms-provision/opennms-requisition-service/src/main/resources/META-INF/opennms/component-dao.xml
    A opennms-provision/opennms-requisition-service/src/test/java/org/opennms/netmgt/provision/persist/rpc/RequisitionExecutorLifecycleTest.java

  Log Message:
  -----------
  NMS-20050: Prevent shutdown delays in Provisiond

Java 21 related fallout :
ExecutorService extends AutoCloseable -> provides close() ->
spring now calls close() which waits for all executor threads to close normally

Instead, we call shudown as these RPCs that are in flight when user stops OpenNMS



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