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

DB error occurs hostgroup.massupdate method with duplicate hostid

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.3
    • Fix Version/s: 2.0.4, 2.1.0
    • Component/s: API (A)
    • Labels:

      Description

      DB error occurs hostgroup.massupdate with duplicate hostid.

      MySQL error:

      Error in query [INSERT INTO hosts_groups (hostgroupid, hostid, groupid) VALUES (100100000173493, 100100000027416, 100100000000252)] [Duplicate entry '100100000027416-100100000000252' for key 'hosts_groups_1']18:49:13 SQL: INSERT INTO hosts_groups (hostgroupid, hostid, groupid) VALUES (100100000173493, 100100000027416, 100100000000252)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kodai Kodai Terashima
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: