[ZBX-25316] Zabbix 6.0 violates Primary Key on 'history' table Created: 2024 Sep 30 Updated: 2024 Nov 13 Resolved: 2024 Nov 13 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Problem report | Priority: | Trivial |
Reporter: | Nikita Yurasov | Assignee: | Zabbix Development Team |
Resolution: | Duplicate | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() ![]() |
||||||||||||
Issue Links: |
|
Description |
Steps to reproduce:
Result:
A bit details: Patroni Cluster of PG 15.7 (3 nodes) runs as logical replication of Prod Patroni Cluster of PG (12.7). Prod Patroni Cluster works as Database for Zabbix Server 5.0.22. For testing purposes we switched the 3rd node 15.7 from Patroni and tested it as Database for Zabbix Server 6.0.14 (Primary Keys added to history* tables on 'itemid' + 'clock' + 'ns' columns). This is the Database that faced violating PK (its log on screenshot). The values violating PK don't exist in Prod Cluster, so I assume they are inserted by Zabbix Server 6.0.14, and 2024-09-25 the database received a request on duplicating insert. Thanks in advance! |
Comments |
Comment by Alexander Vladishev [ 2024 Sep 30 ] |
This already fixed in version 6.0.29 in |
Comment by Nikita Yurasov [ 2024 Nov 11 ] |
Hello again! We've upgraded to 6.0.29, this version has been working for about a month. Nov 08 we faced the primary key violations again, corresponding log entries are on the screenshot (next comment). Need help, please! |
Comment by Nikita Yurasov [ 2024 Nov 11 ] |
|
Comment by Alexander Vladishev [ 2024 Nov 13 ] |
Closed as duplicate of ZBX-25148. Please follow updates there. |