Adding documentation regarding the importance of a single time source…#110
Adding documentation regarding the importance of a single time source…#110gilesw wants to merge 2 commits into2ndQuadrant:bdr-plugin/nextfrom semantico:bdr-plugin/next
Conversation
… on conflict handlers
|
Hi, On 2015-07-10 03:14:16 -0700, gilesw wrote:
That shouldn't actually happening - this should result in the "wrong |
|
Hi anarazel, I've corrected the time source now but the steps I used to create the conflict were:- For an update/update conflict I powered down node a and updated on node b. Then powered down node b and updated node a and powered node b back on. It did have me stumped for a good while which is why I submitted the issue for the doc update. As soon as the time source was corrected though the syncing was bi-directional again. I did try to do some more diagnosis by clearing out the conflict history to try and log each step but I got into an infinite conflict loop. If you delete the conflict history on each node you actually generated a delete/delete conflict. Do you want me to submit this as a bug or is there a purge function that I'm missing? |
Hm. We don't replicate inserts into the conflict history table from the conflict tracking code, but maybe we don't filter out subsequent SQL-level update/delete on the table? I'll need to check. Creating new bug. |
|
It sounds like we need to reproduce this and fix the underlying bug with desynchronized time causing failure to resolve. @gilesw Can you supply a more detailed set of steps to reproduce this? BDR setup commands, DDL, and the SQL run on each node to create the issue? |
… on conflict handlers
see https://github.com/2ndQuadrant/bdr/issues/109