I'm trying to setup a GTM, Coordinator with two datanodes on one host and a second coordinator with two more datanodes on the second host which both reside on the same network.
But I'm facing some challenges.
I'm able to create all four nodes from coordinator 1(as below), but while retrieving data, I'm getting the below error.
CREATE TABLE test_1(id int) DISTRIBUTE BY HASH(id) to node datanode1, datanode2, datanode3, datanode4;
SELECT * FROM test_1;
ERROR: Failed to get pooled connections
I tried with pg_pool_reload (below was the result) and it still doesn't seem to help my case.
postgres=# select pgxc_pool_reload();
pgxc_pool_reload
t
(1 row)