about postgres-r setup. - Mailing list pgsql-hackers

From leiyonghua
Subject about postgres-r setup.
Date
Msg-id 488DA25A.30406@alibaba-inc.com
Whole thread Raw
Responses Re: about postgres-r setup.  (Markus Wanner <markus@bluegap.ch>)
Re: about postgres-r setup.  (Markus Wanner <markus@bluegap.ch>)
List pgsql-hackers
hi,
i have setup a postgres-r environment, including two nodes, and
1) the Ensemble daemon run with default configure (means no command options)
2) set the internal variable
repl_default_gcs = 'ensemble'
at postgresql.conf
3) all initial sql script initialized at node1 and node2 as follows:
create database data;
\c data;
create table foo (id serial primary key, n text);
4) execute sql:
alter database data start replication in group tst;

at node1, and seems everything is ok:

NOTICE: Applying for membership in the communication group...
NOTICE: Successfully started replication.
ALTER DATABASE

5)execute sql:
alter database data accept replication from group tst;

at node2, and the psql command is hung up,

NOTICE: Applying for membership in the communication group...
NOTICE: Successfully joined the replication group. Now recovering schema...

so, i dont know what happened, pls give me some advice.

thanks.

best,
leiyonghua


pgsql-hackers by date:

Previous
From: Zdenek Kotala
Date:
Subject: Re: Review: DTrace probes (merged version) ver_03
Next
From: Zdenek Kotala
Date:
Subject: Re: Review: DTrace probes (merged version) ver_03