From: Michael P. <mic...@gm...> - 2014-03-11 23:05:03
|
On Wed, Mar 12, 2014 at 4:10 AM, Masataka Saito <pg...@gm...> wrote: > On 11 March 2014 16:42, Juned Khan <jkh...@gm...> wrote: >> Hi Masataka, >> >> For testing i am tried to get this work added manual query for CREATE NODE. >> >> Now its look like this: >> >> postgres=# \q >> PGXC Psql -dpostgres -h node5 -p 20004 >> Selected coord3. >> >> postgres=# select * from pgxc_node; >> node_name | node_type | node_port | node_host | nodeis_primary | >> nodeis_preferred | node_id >> -----------+-----------+-----------+-----------+----------------+------------------+------------- >> coord3 | C | 5432 | localhost | f | f >> | 1638403545 >> coord1 | C | 20004 | node3 | f | f >> | 1885696643 >> coord2 | C | 20005 | node4 | f | f >> | -1197102633 >> datanode1 | D | 20008 | node3 | f | f >> | 888802358 >> datanode2 | D | 20009 | node4 | f | f >> | -905831925 >> datanode3 | D | 20008 | node5 | f | f >> | -1894792127 >> (6 rows) >> >> Here coord3 runs on 5432 which should 20004., it creates problem i think >> isn't it ? >> > > As far as I know, the local node information is not important and it > is not necessary to update. > "pgxc_ctl add" corrects it by "ALTER NODE". CREATE NODE and DROP NODE only run locally. Why not ALTER NODE for consistency? Am I missing smth? -- Michael |