bugzilla-daemon at main.slony.info bugzilla-daemon at main.slony.info
Tue Oct 29 13:42:28 PDT 2013
http://www.slony.info/bugzilla/show_bug.cgi?id=321

Steve Singer <ssinger at ca.afilias.info> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #190 is|0                           |1
           obsolete|                            |
 Attachment #188 is|0                           |1
           obsolete|                            |

--- Comment #9 from Steve Singer <ssinger at ca.afilias.info> 2013-10-29 13:42:28 PDT ---
Created an attachment (id=193)
 --> (http://www.slony.info/bugzilla/attachment.cgi?id=193)
Patch for the 'use any provider - don't require the event_provider' approach

The problem with the previous patch set is that it doesn't deal with cases when
EXECUTE SCRIPT is used to submit data to a non-origin node.  Remote nodes
never see the sl_log_script data.

This patch still connects to a provider before processing the sync_event but
ANY provider will do, it doesn't require a connection to the current
event_provider.

This bug was triggered by SYNC events coming from two(or more) event_providers
since we allow multiple sources in sl_listen for a given li_origin/li_receiver
pair when li_origin has no subscriptions coming from it.  With this patch
sync_event should use any of those and not keep connecting to the one that the
current event came from.

-- 
Configure bugmail: http://www.slony.info/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the Slony1-bugs mailing list