Improve trigger macro expansion performances

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Minor
    • None
    • Affects Version/s: None
    • Component/s: Server (S)

      After the introduction of ZBX-11829, some kind of trigger expression containing macros broke. For fixing it, ZBX-11951 introduce some expensive calls to substitute_simple_macros() for that.
      There are potentially redundant calls in the code branch from DBmass_update_triggers() down to evaluate_expression() and this is (pretty sure) a performance hit.

      That part of code should be re-worked for making performances better in this regard

            Assignee:
            Unassigned
            Reporter:
            Andrea Biscuola (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: