Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-19111

Check for circular dependencies in the template linkage spend more time and memory than needed

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 74 (Mar 2021)
    • Story Points:
      1

      Description

      Steps to reproduce:

      1. create Zabbix installation with a lot of hosts linked to templates (for example, 50000 hosts, each host linked to 5 templates, 250000 hosts_templates records)
      2. execute API call host.massadd with parameters
        {
          "hosts": [
            {"hostid": 149105}
          ],
          "templates_link": [
            {"templateid": 149109}
          ]
        }

      Result:
      The current implementation of this check consumes ~0.35 seconds and ~60 MB of memory.

        Attachments

          Activity

            People

            Assignee:
            sasha Alexander Vladishev
            Reporter:
            sasha Alexander Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: