Jan Wieck JanWieck
Wed Jun 21 23:07:25 PDT 2006
On 6/21/2006 10:51 PM, Christopher Nielsen wrote:
> Hi there,
> 
> I recently started using Slony to replicate some tables across three nodes.
> The install went well, and the web application using the new pool of db
> servers is faster and can handle much more capacity than before.  We're
> really glad we ran into Slony when we needed it.
> 
> Recently, though, I added two subscriber nodes to our slony setup and
> subscribed them to our replication set.
> 
> Shortly after, the slon instance connecting to the provider database began
> emitting an error I'm not sure how to interpret:
> 
>    ERROR  remoteListenThread_5: db_getLocalNodeId() returned 4 - wrong
> database?

This means that the sl_path.pa_conninfo on the node where you are 
getting that error to connect to node 5 actually contains the 
information how to connect to node 4.

So you are looking for an sl_path entry that has pa_server = 5 and 
pa_client = <the one that spits the error>. Look twice, I know that is 
is wrong :-)


Jan

-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck at Yahoo.com #



More information about the Slony1-general mailing list