[ZBX-8133] Possible deadlocks while updating host_inventory table Created: 2014 Apr 22  Updated: 2017 May 30  Resolved: 2014 Apr 22

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: 2.2.3
Fix Version/s: 2.2.4rc1, 2.3.0

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

Issue Links:
Duplicate

 Description   

hosts are not processed by hostid correctly.

27612:20140422:164926.112 query [txnlev:1] [update host_inventory set alias='1.75 Ksps' where hostid=10114;
update host_inventory set name='localhost' where hostid=10114;
update host_inventory set type='3.45 GB' where hostid=10114;
update host_inventory set poc_1_email='3.86 GB' where hostid=10114;
update host_inventory set os_short='0 %' where hostid=10117;
update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10117;
update host_inventory set alias='1.71 Ksps' where hostid=10115;
update host_inventory set os_full='1.31 %' where hostid=10115;
update host_inventory set name='localhost' where hostid=10115;
update host_inventory set type_full='149119558' where hostid=10115;
update host_inventory set type='3.45 GB' where hostid=10115;
update host_inventory set poc_1_email='3.86 GB' where hostid=10115;
update host_inventory set alias='1.7 Ksps' where hostid=10116;
update host_inventory set os_full='1.31 %' where hostid=10116;
update host_inventory set name='localhost' where hostid=10116;
update host_inventory set type_full='149119558' where hostid=10116;
update host_inventory set type='3.45 GB' where hostid=10116;
update host_inventory set poc_1_email='3.86 GB' where hostid=10116;
update host_inventory set alias='1.76 Ksps' where hostid=10118;
update host_inventory set name='localhost' where hostid=10118;
update host_inventory set type='3.45 GB' where hostid=10118;
update host_inventory set poc_1_email='3.86 GB' where hostid=10118;
update host_inventory set os_short='0 %' where hostid=10119;
update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10119;
update host_inventory set os_short='0 %' where hostid=10120;
update host_inventory set os_full='1.31 %' where hostid=10120;
update host_inventory set os='Linux localhost 3.8.10-gentoo #1 SMP Sun Apr 28 22:38:15 YEKT 20' where hostid=10120;
update host_inventory set type_full='149119558' where hostid=10120;
update host_inventory set type='3.45 GB' where hostid=10120;
]



 Comments   
Comment by Alexander Vladishev [ 2014 Apr 22 ]

Already fixed in pre-2.2.4 r44179 and pre-2.3.0 (trunk) r44180 with ZBX-7555.

Comment by Alexander Vladishev [ 2014 Apr 22 ]

Related issue: ZBX-7737

Generated at Thu Mar 28 13:04:38 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.