[OpenNMS/opennms] d5aedc: NMS-20006: bound local RPC execution to a fixed, c...

Marshall Massengill via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/mm/NMS-20006-smoke/[email protected]>
  Branch: refs/heads/mm/NMS-20006-smoke
  Home:   https://github.com/OpenNMS/opennms
  Commit: d5aedc7dc1dee5a3e095a0fba795c6cda123049e
      https://github.com/OpenNMS/opennms/commit/d5aedc7dc1dee5a3e095a0fba795c6cda123049e
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-20 (Mon, 20 Jul 2026)

  Changed paths:
    M core/ipc/rpc/api/pom.xml
    M core/ipc/rpc/api/src/main/java/org/opennms/core/rpc/api/RpcExceptionUtils.java
    A core/ipc/rpc/api/src/test/java/org/opennms/core/rpc/api/RpcExceptionUtilsTest.java
    M core/ipc/rpc/camel/src/main/java/org/opennms/core/rpc/camel/CamelRpcClientFactory.java
    A core/ipc/rpc/camel/src/test/java/org/opennms/core/rpc/camel/LocalRpcTimeoutTest.java
    M docs/modules/reference/pages/configuration/ttl-rpc.adoc

  Log Message:
  -----------
  NMS-20006: bound local RPC execution to a fixed, configurable timeout

Local (same-location) RPC execution in CamelRpcClientFactory is bounded
again so a module future that never completes cannot wedge its caller
(the NMS-19951 goal), but the bound is no longer the request TTL: it is
a fixed timeout, 30 minutes by default, configurable via the
org.opennms.core.ipc.rpc.local.timeout system property (0 disables).
TTL values resolved from snmp-config, service parameters, or the
collection interval no longer affect local execution, so
slow-but-completing local operations cannot be failed by configuration
intended for the Minion path.

RpcExceptionUtils now maps java.util.concurrent.TimeoutException to
onTimedOut, so an expired local execution is reported as a timeout
(e.g. CollectionTimedOut) rather than as an unexpected exception.



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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.