<html><body><div style="color:#000; background-color:#fff; font-family:Courier New, courier, monaco, monospace, sans-serif;font-size:12pt">Doesn't that cause the complete copy of whole tables ?<br><br><div style="font-family: Courier New, courier, monaco, monospace, sans-serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">From:</span></b> ""Stéphane A. Schildknecht"" <stephane.schildknecht@postgresql.fr><br> <b><span style="font-weight: bold;">To:</span></b> slony1-general@lists.slony.info <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, March 19, 2012 2:26 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Slony1-general] Moveset changes to sub_forward<br> </font> </div> <br>
Le 19/03/2012 22:04, Brian Trudal a écrit :<br>> Hi there<br><br>Hi,<br><br>> <br>> We have 3 nodes in cluster.<br>> <br>> After moving a set from one node (node-1) to another (node-2), whats the best<br>> way to reset the origin in another subscriber (node-3) as it still talking to<br>> node-1 as node-1 is doing forward of node-2 changes to node-3 ; rather I want<br>> node-3 directly talk to node-2 (new origin) without sub_forward by node-1.<br>> <br>> The sl_subscribe looks like this:<br>> <br>> engine_db=# select * from sl_subscribe where sub_set=1;<br>> sub_set | sub_provider | sub_receiver | sub_forward | sub_active<br>> ---------+--------------+--------------+-------------+------------<br>> 1 | 1 | 3 | f | t<br>> 1 |
2 | 1 | t | t<br>> (3 rows)<br>> <br>> Rather, after moveset, I expected, line 1 to go away and line-2 to have direct<br>> replication to 3 instead of forward through 1.<br>> <br><br>You can re-subscribe your nodes in a way that fits your needs.<br><br>Just issue subscribe sets commands, and tell node 3 to subscribe to 2.<br><br>BR,<br>-- <br>Stéphane Schildknecht<br>http://www.Loxodata.com<br>Contact régional PostgreSQL<br>_______________________________________________<br>Slony1-general mailing list<br><a ymailto="mailto:Slony1-general@lists.slony.info" href="mailto:Slony1-general@lists.slony.info">Slony1-general@lists.slony.info</a><br>http://lists.slony.info/mailman/listinfo/slony1-general<br><br><br> </div> </div> </div></body></html>