[ZBXNEXT-6042] Optimize function parameter user macro resolving Created: 2020 Jul 02  Updated: 2024 Apr 10  Resolved: 2020 Jul 28

Status: Closed
Project: ZABBIX FEATURE REQUESTS
Component/s: Server (S)
Affects Version/s: 5.0.1
Fix Version/s: 5.0.3rc1, 5.2.0alpha1, 5.2 (plan)

Type: Change Request Priority: Medium
Reporter: Andris Zeila Assignee: Andris Zeila
Resolution: Fixed Votes: 1
Labels: performance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team A
Sprint: Sprint 66 (Jul 2020)
Story Points: 2

 Description   

User macros in trigger expressions are resolved during configuration cache sync. This was done to avoid multiple macro resolving calls during trigger processing, which would lock configuration cache.

However function parameter macros are still resolved during trigger processing. In some installations that would result in similar cache locking overhead. This could be improved by moving function parameter macro resolving to configuration cache sync.



 Comments   
Comment by Andris Zeila [ 2020 Jul 16 ]

Released ZBXNEXT-6042 in:

  • pre-5.0.3rc1 7bd5435bd0
  • pre-5.2.0alpha1 3a352fb54d
Generated at Fri Mar 28 23:12:24 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.