[ZBX-8815] Incorrect parsing of host groups while processing adding host to host groups Created: 2014 Sep 24  Updated: 2017 May 30  Resolved: 2014 Sep 24

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.0.13, 2.2.6, 2.4.0
Fix Version/s: 1.8.22rc1, 2.0.14rc1, 2.2.7rc1, 2.4.1rc1, 2.5.0

Type: Incident report Priority: Major
Reporter: Alexey Pustovalov Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: discovery
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate

 Description   
zabbix_server [11575]: ERROR file:operations.c,line:133 Something impossible has just happened.
11575:20140923:130957.644 [Z3005] query failed: [1062] Duplicate entry '11144-172' for key 'hosts_groups_1'
[insert into hosts_groups (hostgroupid,hostid,groupid) values (34790,11144,172),(34791,11144,163);

it happens because of binary search requirements and noorder function functionality.



 Comments   
Comment by Alexander Vladishev [ 2014 Sep 24 ]

Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-8815

Comment by Alexander Vladishev [ 2014 Sep 25 ]

Fixed in pre-1.8.22 r49375, pre-2.0.14 r49378, pre-2.2.7 r49379, pre-2.4.1 r49380 and pre-2.5.0 (trunk) r49381.

Generated at Sat Apr 20 16:54:16 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.