From: | "Zhu, Joshua" <jzhu(at)vormetric(dot)com> |
---|---|
To: | Dan Wierenga <dwierenga(at)gmail(dot)com> |
Cc: | "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | RE: BDR, ERROR: previous init failed, manual cleanup is required |
Date: | 2018-02-08 18:08:55 |
Message-ID: | 1389b16da16640eab0cef1307f3f358c@EXUSDAGORL01.INTERNAL.ROOT.TES |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Thanks a lot for your reply…
I’ve already gone with the extreme route of dropping/recreating the database before trying the bdr_connections_changed() call, which I’ll keep in mind next time when the same issue happens.
From: Dan Wierenga [mailto:dwierenga(at)gmail(dot)com]
Sent: Wednesday, February 07, 2018 1:45 PM
To: Zhu, Joshua <jzhu(at)thalesesec(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: BDR, ERROR: previous init failed, manual cleanup is required
On Wed, Feb 7, 2018 at 9:14 AM, Zhu, Joshua <jzhu(at)vormetric(dot)com<mailto:jzhu(at)vormetric(dot)com>> wrote:
Here is a BDR problem we ran into recently:
A BDR group with a pair of nodes, N1 and N2, group is created on N1, N2 joins the group, so far so good
N2 departs/rejoins the group a couple of times, then ran into an issue, with the following symptom, after executing bdr.bdr_group_join() on N2 wrt N1:
FWIW, I was never able to successfully join a node with bdr.bdr_group_join. I was only ever able to get it to work by using bdr_init_copy and letting it create the database on the target node for me. Run "SELECT bdr.bdr_node_join_wait_for_ready();" to make sure it bootstrapped properly.
I can't access my bdr cluster right now, but off the top of my head:
- check the bdr.bdr_connections table in addition to the nodes table.
- make sure you run "select bdr.bdr_connections_changed();" after you manually delete from any of the bdr tables.
From | Date | Subject | |
---|---|---|---|
Next Message | Adrian Klaver | 2018-02-08 18:09:40 | Re: Odd behavior with 'currval' |
Previous Message | Steven Hirsch | 2018-02-08 17:58:56 | Re: Odd behavior with 'currval' |