Simultaneous API calls cause duplicate entry in DB

XMLWordPrintable

    • Type: Incident report
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: 3.2.4
    • Component/s: API (A)
    • None
    • Environment:
      N/A

      Hi Zabbix team ,

      I've found a possible issue while developing some scripts to dynamically create Templates/Items and Hosts .
      The issue can be spotted while running the host.create API call simultaneously . I've not tested with other API calls like item.create or template.create but I suspect that it will be the same outcome .
      The outcome of this run is that Zabbix will create 2 hosts with the same name . If I run the call's with some time difference between them , the 2nd call seems to return a error saying that this hostname was already created , which is fine , but I would expect this error coming up while I run the simultaneous calls also .

            Assignee:
            Unassigned
            Reporter:
            Istvan Caluser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: