projects
/
slony1-engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79ee280
)
bug 321 - fix to the previous patch for when we have multiple real providers
author
Steve Singer
<ssinger@ca.afilias.info>
Thu, 31 Oct 2013 13:05:20 +0000
(09:05 -0400)
committer
Steve Singer
<ssinger@ca.afilias.info>
Sat, 2 Nov 2013 18:59:12 +0000
(14:59 -0400)
If the provider list contains multiple providers that actually provide
a set (set_head != NULL) then we want to use those providers and
not skip them
src/slon/remote_worker.c
patch
|
blob
|
blame
|
history
diff --git
a/src/slon/remote_worker.c
b/src/slon/remote_worker.c
index 487c4db5b9a2b620f3d5cf57e97c6d7d18341da9..d9c340a5dec4e47f5e769dafdb1756e9987c8de1 100644
(file)
--- a/
src/slon/remote_worker.c
+++ b/
src/slon/remote_worker.c
@@
-3827,7
+3827,7
@@
sync_event(SlonNode * node, SlonConn * local_conn,
*
* If the provider doesn't then we get the DDL from the event_provider.
*/
- if(provider->no_id != event->event_provider)
+ if(provider->no_id != event->event_provider
&& provider->set_head == NULL
)
{
slon_log(SLON_DEBUG2,
"remoteWorkerThread_%d: skipping provider %d we want %d\n",