[ZBX-16472] query failed when proxy receives configuration from server Created: 2019 Aug 07 Updated: 2019 Aug 09 Resolved: 2019 Aug 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 4.2.5 |
Fix Version/s: | None |
Type: | Incident report | Priority: | Blocker |
Reporter: | Oleksii Zagorskyi | Assignee: | Andris Zeila |
Resolution: | Duplicate | Votes: | 0 |
Labels: | preprocessing, proxy, sql | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
Description |
Having this key: zabbix[host,,maintenance] for a host, monitored by zabbix proxy and this item has a pre-processing step (don't ask me why). 20473:20190806:235257.280 received configuration data from server at "127.0.0.1", datalen 3957 20473:20190806:235257.282 [Z3005] query failed: [1452] Cannot add or update a child row: a foreign key constraint fails (`proxy4.2`.`item_preproc`, CONSTRAINT `c_item_preproc_1` FOREIGN KEY (`itemid`) REFERENCES `items` (`itemid`) ON DELETE CASCADE) [insert into item_preproc (item_preprocid,itemid,step,type,params,error_handler,error_handler_params) values (7461,29271,1,6,'',0,''); ] 20473:20190806:235257.282 failed to update local proxy configuration copy: database error Reproducible in 4.2.5, so recent |
Comments |
Comment by Vladislavs Sokurenko [ 2019 Aug 07 ] |
If not easily reproducible then could be same logic as this one: |
Comment by Vladislavs Sokurenko [ 2019 Aug 09 ] |
Thank you for your report, this will be fixed under |