• Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • 4.8.1
    • None
    • Central
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False

      USER PROBLEM
      What is the user experiencing as a result of the bug? Include steps to reproduce.

      Memory usage by the network tree increases as nodes are not correctly removed from it.

      CONDITIONS
      What conditions need to exist for a user to be affected? Is it everyone? Is it only those with a specific integration? Is it specific to someone with particular database content? etc.

      This problem always occurs, but it is much worse when external IPs is enabled as that is when a large amount of network entities are inserted into the tree and also removed.

      ROOT CAUSE
      What is the root cause of the bug?

      When an entity is removed from the network tree only its leaf is removed. In many cases the parent of the leaf may need to be removed recursively as well, but this is not done.

      FIX
      How was the bug fixed (this is more important if a workaround was implemented rather than an actual fix)?

      When a node is removed, its parent is checked. If the parent has no children and no value then it is removed. This is done recursively.

              jvirtane@redhat.com Jouko Virtanen
              jvirtane@redhat.com Jouko Virtanen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: