Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-7505

The DefaultResourceDao loads all child resources when retrieving a specific resource by id

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 15.0.1
    • Fix Version/s: 16.0.0
    • Component/s: Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      The getResourceById() call loads all child resources, and then iterates over the list to find the requested child.

      This uses excessive IO and adds latency to these requests, particularly on nodes with a large number (100+) of interfaces/resources.

        Attachments

          Activity

            People

            • Assignee:
              j-white Jesse White
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: