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

    • Enhancement
    • Status: Resolved (View Workflow)
    • Critical
    • Resolution: Fixed
    • 15.0.1
    • 16.0.0
    • Data Collection - SNMP
    • Security Level: Default (Default Security Scheme)
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: