I have this weird error in sync which I see on my Master node :
But looking on my secondary node:
all is jolly.
What I have done is migrate to a newer version from 5.x to 7.x, firstly I dissolved the cluster, upgraded the master node to the latest version, reinstalled the secondary node and rejoined it to the cluster. All seems to be working fine just that error is repeated in my log file
Any chance I get rid of this issue?
Thanks
Code:
pmgmirror[414]:database sync 'node-2' failed - DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint "cmailstore_pkey"#012DETAIL: Key (cid, rid)=(2, 70691) already exists. at /usr/share/perl5/PMG/DBTools.pm line 1095.
But looking on my secondary node:
Code:
pmgmirror[1196]: cluster synchronization finished (0 errors, 2.40 seconds (files 0.16, database 1.91, config 0.34)
all is jolly.
What I have done is migrate to a newer version from 5.x to 7.x, firstly I dissolved the cluster, upgraded the master node to the latest version, reinstalled the secondary node and rejoined it to the cluster. All seems to be working fine just that error is repeated in my log file
Code:
pmgmirror[414]: database sync 'node-2' failed - DBD::Pg::st execute failed: ERROR: duplicate key value violates unique constraint "cmailstore_pkey"#012DETAIL: Key (cid, rid)=(2, 70691) already exists. at /usr/share/perl5/PMG/DBTools.pm line 1095.
Dec 16 14:23:44 node-1 pmgmirror[414]: cluster synchronization finished (1 errors, 0.03 seconds (files 0.00, database 0.03, config 0.00))
Any chance I get rid of this issue?
Thanks
Last edited: