From: pgsql-admin-owner@xxxxxxxxxxxxxx [mailto:pgsql-admin-owner@xxxxxxxxxxxxxx]
On Behalf Of hydra On Fri, Jun 5, 2015 at 4:40 AM, Sergey Konoplev <gray.ru@xxxxxxxxx> wrote:
Thank you all for replies, It's a real life experience of hitting this replication bug: The primary symptom of this corruption is rows that:
How can I verify whether I already have this corruption? So hands up who still think PostgreSQL doesn't need some way of checking the data consistency between master-standby? :) My hand is up. From the wiki page that you referenced you forgot to quote this: “This is an issue, discovered Nov. 18, 2013., which can cause data corruption on a Hot-Standby replica when it is (re-)started, by marking committed transactions
as uncommitted. This issue is fixed in the December 5th 2013 update releases.” So, what’s your point? Yes, any software can (and does) have bugs. What’s important is how quickly the bug is discovered and fixed. You wish to write a utility that compares data on 2 different clusters – sure, by all means, but I believe time could be better spent on something else. But, how is to say that this utility will be 100% error-free? Regards, Igor Neyman |