[OpenNMS/opennms] e978b7: NMS-20009: Build poller metadata scope once per re...

OpenNMS Machine User via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/release-36.x/[email protected]>
  Branch: refs/heads/release-36.x
  Home:   https://github.com/OpenNMS/opennms
  Commit: e978b72035943c63d1d18fdc25b6e2a6909a3ef0
      https://github.com/OpenNMS/opennms/commit/e978b72035943c63d1d18fdc25b6e2a6909a3ef0
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M features/poller/client-rpc/src/main/java/org/opennms/netmgt/poller/client/rpc/PollerRequestBuilderImpl.java

  Log Message:
  -----------
  NMS-20009: Build poller metadata scope once per request instead of twice

execute() built the node/interface/service scope twice per poll - once for
the configured attributes and once for the monitor's runtime attributes -
at three read-only database transactions per build (SUPPORT-3261).
Memoize it on the request builder.


  Commit: 0acd5f77d19f69515f23f8eb503ac2cf8c64222c
      https://github.com/OpenNMS/opennms/commit/0acd5f77d19f69515f23f8eb503ac2cf8c64222c
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M features/poller/client-rpc/src/main/java/org/opennms/netmgt/poller/client/rpc/PollerRequestBuilderImpl.java

  Log Message:
  -----------
  NMS-20009: Invalidate the memoized scope when its inputs change

Addresses Copilot review feedback: withService and withPatternVariables now
reset the cached scope, so a builder mutated after a getScope() call sees
fresh values, matching pre-memoization semantics. execute() still builds the
scope only once since nothing mutates between its two uses.


  Commit: 9ce795e2e8f1f2e4f872cde8c95597aa80e69eae
      https://github.com/OpenNMS/opennms/commit/9ce795e2e8f1f2e4f872cde8c95597aa80e69eae
  Author: Marshall Massengill <[email protected]>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M features/poller/client-rpc/src/main/java/org/opennms/netmgt/poller/client/rpc/PollerRequestBuilderImpl.java

  Log Message:
  -----------
  Merge pull request #8633 from OpenNMS/mm/NMS-20009-smoke

NMS-20009: Poller builds the metadata scope twice per poll


  Commit: da5dee55992b696d75cdcbfc839bba111490b4d1
      https://github.com/OpenNMS/opennms/commit/da5dee55992b696d75cdcbfc839bba111490b4d1
  Author: CI/CD System <[email protected]>
  Date:   2026-07-17 (Fri, 17 Jul 2026)

  Changed paths:
    M features/poller/client-rpc/src/main/java/org/opennms/netmgt/poller/client/rpc/PollerRequestBuilderImpl.java

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/foundation-2024' into foundation-2025


  Commit: 69ccc0290c07251b23abba908af362108a2326d5
      https://github.com/OpenNMS/opennms/commit/69ccc0290c07251b23abba908af362108a2326d5
  Author: Chandra Gorantla <[email protected]>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M features/collection/client-rpc/src/main/resources/META-INF/opennms/applicationContext-rpc-collector.xml
    M features/collection/client-rpc/src/main/resources/OSGI-INF/blueprint/blueprint.xml
    A features/collection/client-rpc/src/test/java/org/opennms/netmgt/collection/client/rpc/CollectorExecutorLifecycleTest.java
    M features/poller/client-rpc/src/main/resources/META-INF/opennms/applicationContext-rpc-poller.xml
    M features/poller/client-rpc/src/main/resources/OSGI-INF/blueprint/blueprint.xml
    A features/poller/client-rpc/src/test/java/org/opennms/netmgt/poller/client/rpc/PollerExecutorLifecycleTest.java

  Log Message:
  -----------
  NMS-20046: Handle Poller/Collect RPC executor shutdown

Currently daemon shutdown is taking longer as orderly shutdown waits
for all the current jobs to execute properly. We need force shutdown
for RPCs as they have longer timeout


  Commit: 3219789618208820049415e6ba6d8bd8c0b12586
      https://github.com/OpenNMS/opennms/commit/3219789618208820049415e6ba6d8bd8c0b12586
  Author: Chandra Gorantla <[email protected]>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    M features/collection/client-rpc/src/main/resources/META-INF/opennms/applicationContext-rpc-collector.xml
    M features/collection/client-rpc/src/main/resources/OSGI-INF/blueprint/blueprint.xml
    R features/collection/client-rpc/src/test/java/org/opennms/netmgt/collection/client/rpc/CollectorExecutorLifecycleTest.java
    M features/poller/client-rpc/src/main/resources/META-INF/opennms/applicationContext-rpc-poller.xml
    M features/poller/client-rpc/src/main/resources/OSGI-INF/blueprint/blueprint.xml
    R features/poller/client-rpc/src/test/java/org/opennms/netmgt/poller/client/rpc/PollerExecutorLifecycleTest.java

  Log Message:
  -----------
  Revert "NMS-20046: Handle Poller/Collect RPC executor shutdown"

This reverts commit 69ccc0290c07251b23abba908af362108a2326d5.


  Commit: cdd72bcb46bf3af04c3cf91e6a8e280db0fa6c36
      https://github.com/OpenNMS/opennms/commit/cdd72bcb46bf3af04c3cf91e6a8e280db0fa6c36
  Author: CI/CD System <[email protected]>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/foundation-2024' into foundation-2025


  Commit: 23d61a501fc3ca7607a34e131406b031800988ba
      https://github.com/OpenNMS/opennms/commit/23d61a501fc3ca7607a34e131406b031800988ba
  Author: Christian Pape <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  NMS-19996: Bumped netty version


  Commit: dd6e40cceb81da19172ad358ee98a415ad843530
      https://github.com/OpenNMS/opennms/commit/dd6e40cceb81da19172ad358ee98a415ad843530
  Author: Christian Pape <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  NMS-20034: Bumped mina version


  Commit: ffb62839abb62b58293a48203bae68013059f0ea
      https://github.com/OpenNMS/opennms/commit/ffb62839abb62b58293a48203bae68013059f0ea
  Author: Christian Pape <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  NMS-19931: Bumped jackson-databind version


  Commit: c85a7faec1640b5443ece44c14fbe15bc38aa89a
      https://github.com/OpenNMS/opennms/commit/c85a7faec1640b5443ece44c14fbe15bc38aa89a
  Author: CI/CD System <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/foundation-2024' into foundation-2025


  Commit: 01723b76d91c7455bea56e773fb5a53af110b5ff
      https://github.com/OpenNMS/opennms/commit/01723b76d91c7455bea56e773fb5a53af110b5ff
  Author: CI/CD System <[email protected]>
  Date:   2026-07-22 (Wed, 22 Jul 2026)

  Changed paths:
    M features/poller/client-rpc/src/main/java/org/opennms/netmgt/poller/client/rpc/PollerRequestBuilderImpl.java
    M pom.xml

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/foundation-2025' into release-36.x


Compare: https://github.com/OpenNMS/opennms/compare/d2a3b830e19d...01723b76d91c

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.