[Postgres-xl-general] Problem adding node using pgxc_ctl

Pavan Deolasee pavan.deolasee at gmail.com
Mon Dec 19 19:38:05 PST 2016


On Tue, Dec 20, 2016 at 4:27 AM, Michael Misiewicz <mmisiewicz at gmail.com>
wrote:

> Seems like this code was last changed here:
> https://git.postgresql.org/gitweb/?p=postgres-xl.git;a=
> commit;f=contrib/pgxc_ctl/datanode_cmd.c;h=e861c467a05cf70f2c3db94c6993de
> f219c0db47
>
> This block of code seems a bit unclear:
> /*
> * Check if datanode masgter configuration is consistent
> */
> idx = size = arraySizeName(VAR_datanodeNames);
> if ((arraySizeName(VAR_datanodePorts) != size) ||
>    (arraySizeName(VAR_datanodePoolerPorts) != size) ||
> (arraySizeName(VAR_datanodeMasterServers) != size) ||
> (arraySizeName(VAR_datanodeMasterDirs) != size) ||
> (arraySizeName(VAR_datanodeMasterWALDirs) != size) ||
> (arraySizeName(VAR_datanodeMaxWALSenders) != size) ||
> (arraySizeName(VAR_datanodeSpecificExtraConfig) != size) ||
> (arraySizeName(VAR_datanodeSpecificExtraPgHba) != size))
> {
> elog(ERROR, "ERROR: Found some conflicts in datanode master
> configuration.\n");
> return 1;
> }
>
>
> So I'm guessing the error is being caused by one of those things not
> having the same size as datanodeNames? I don't understand, I'm trying to
> ADD a data node here...
>
>

Can you share your pgxc_ctl.conf file? Also, which XL version are you
using?

Thanks,
Pavan

-- 
 Pavan Deolasee                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.postgres-xl.org/pipermail/postgres-xl-general-postgres-xl.org/attachments/20161220/afebcd65/attachment.htm>


More information about the postgres-xl-general mailing list