<div dir="ltr">Hey guys,<div><br></div><div>I have a cluster with 3 nodes. On the main db, I run the following script:</div><div><br></div><div><br></div><div><div>cluster name = slony_cluster;</div><div><br></div><div>node 1 admin conninfo = &#39;dbname = dbNAME host = localhost user = slonyuser password = slonPASS port = 5432&#39;;</div><div>node 3 admin conninfo = &#39;dbname = dbNAME host = 172.16.10.4 user = slonyuser password = slonPASS port = 5432&#39;;</div><div><br></div><div>DROP NODE ( ID = 3, EVENT NODE = 1 );</div></div><div><br></div><div><br></div><div><br></div><div>I open pdadmin on the main db and I don&#39;t see node 3 anymore. However, when I open pgadmin on the replicated db, I still see node 3. The replicated db is the one associated with node 3. I run the above script again on the replicated db but get the following error:</div><div><br></div><div><div><br></div><div>C:\Program Files\PostgreSQL\9.3\bin&gt;slonik drop.txt</div><div>debug: waiting for 3,5000000004 on 1</div><div>drop.txt:4: PGRES_FATAL_ERROR lock table &quot;_slony_securithor2&quot;.sl_event_lock, &quot;_s</div><div>lony_cluster&quot;.sl_config_lock;select &quot;_slony_securithor2&quot;.dropNode(ARRAY[3]);</div><div>  - ERROR:  Slony-I: DROP_NODE cannot initiate on the dropped node</div></div><div><br></div><div><br></div><div>Now I need to setup another node which must have id=3. I run a script on the main db(the one pgadmin does not show a node 3). The following is the script that I used to setup the node and the error that I get:</div><div><br></div><div><br></div><div><div>cluster name = slony_cluster;</div><div><br></div><div>node 1 admin conninfo = &#39;dbname = dbNAME host = localhost user = slonyuser password = slonPASS port = 5432&#39;;</div><div>node 3 admin conninfo = &#39;dbname = dbNAME host = 172.16.10.4 user = slonyuser password = slonPASS port = 5432&#39;;</div><div><br></div><div>store node (id=3, comment = &#39;Slave node 3&#39;, event node=1);</div><div>store path (server = 1, client = 3, conninfo=&#39;dbname=dbNAME host=172.16.10.3 user=slonyuser password = slonPASS port = 5432&#39;);</div><div>store path (server = 3, client = 1, conninfo=&#39;dbname=dbNAME host=172.16.10.4 user=slonyuser password = slonPASS port = 5432&#39;);</div><div><br></div><div>subscribe set ( id = 1, provider = 1, receiver = 3, forward = no);</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>C:\Program Files\PostgreSQL\9.3\bin&gt;slonik create.txt</div><div>drop.txt:6: Error: namespace &quot;_slony_cluster&quot; already exists in database of</div><div>node 3</div><div><br></div><div><br></div></div><div><br></div><div>Is there another way to drop nodes? Can I recover from this without dropping the cluster and restarting from scratch?</div><div><br></div><div><br></div><div>Thanks.</div></div>