You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
(17) |
Jun
(3) |
Jul
|
Aug
|
Sep
(8) |
Oct
(18) |
Nov
(51) |
Dec
(74) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(47) |
Feb
(44) |
Mar
(44) |
Apr
(102) |
May
(35) |
Jun
(25) |
Jul
(56) |
Aug
(69) |
Sep
(32) |
Oct
(37) |
Nov
(31) |
Dec
(16) |
2012 |
Jan
(34) |
Feb
(127) |
Mar
(218) |
Apr
(252) |
May
(80) |
Jun
(137) |
Jul
(205) |
Aug
(159) |
Sep
(35) |
Oct
(50) |
Nov
(82) |
Dec
(52) |
2013 |
Jan
(107) |
Feb
(159) |
Mar
(118) |
Apr
(163) |
May
(151) |
Jun
(89) |
Jul
(106) |
Aug
(177) |
Sep
(49) |
Oct
(63) |
Nov
(46) |
Dec
(7) |
2014 |
Jan
(65) |
Feb
(128) |
Mar
(40) |
Apr
(11) |
May
(4) |
Jun
(8) |
Jul
(16) |
Aug
(11) |
Sep
(4) |
Oct
(1) |
Nov
(5) |
Dec
(16) |
2015 |
Jan
(5) |
Feb
|
Mar
(2) |
Apr
(5) |
May
(4) |
Jun
(12) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
1
(7) |
2
(2) |
3
(8) |
4
|
5
|
6
|
7
|
8
(4) |
9
(3) |
10
|
11
|
12
|
13
|
14
(3) |
15
|
16
|
17
(1) |
18
|
19
|
20
|
21
(2) |
22
|
23
|
24
(1) |
25
|
26
|
27
|
28
|
29
|
30
|
|
|
|
From: Mason <ma...@us...> - 2011-11-01 14:38:58
|
On Tue, Nov 1, 2011 at 1:25 AM, Michael Paquier <mic...@gm...> wrote: > Hi all, > > Please find attached a patch that adds a new option -C/--clusterfile > allowing to specify a customized SQL file at initdb for node initialization > with NODE DDL. > The new option works as follows: > initdb -C ./custom_file.sql -D datadir > initdb --clusterfile ./custom_file.sql -D datadir > > Any comments are welcome. I think we should slow down this line of development and re-think how to do it without any SQL initialization file and find a better solution. This is getting into the overall architecture of the system and does not feel very clean to me. To be clear, I like the DDL approach you advocate and the potential for flexibility it gives XC, and that you put something together for it, but so far it seems to be making things a bit unwieldy. I prefer that we think about how to do this more cleanly in the architecture and then develop supporting commands around that, before we get too wedded to the current approach. I will think about this some more, likely involving an abstraction layer of (implicit) segments/partitions associated with nodes instead of explicit named nodes directly. Thanks, Mason > Regards, > -- > Michael Paquier > http://michael.otacoo.com > > ------------------------------------------------------------------------------ > RSA® Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Michael P. <mic...@gm...> - 2011-11-01 07:09:49
|
Hi all, Please find attached a patch the adds a keyword in CREATE/ALTER NODE to identify the node-self. Until now this was determined by the guc parameter pgxc_node_name. The node DDL becomes with the extension for example: CREATE NODE nodename WITH (SELF); ALTER NODE nodename SET NOT SELF; Also this patch adds deletes node registration for Coordinator, Datanode and Proxy. In current master pgxc_node_name is only necessary at early stages for registration purposes so I think this makes sense. It also simplifies the way nodes are added in the cluster. However, those APIs are not completely deleted because GTM-Standby still registers himself, so some feedback about this point would be nice. Any comment is welcome. Regards, -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2011-11-01 05:26:02
|
Hi all, Please find attached a patch that adds a new option -C/--clusterfile allowing to specify a customized SQL file at initdb for node initialization with NODE DDL. The new option works as follows: initdb -C ./custom_file.sql -D datadir initdb --clusterfile ./custom_file.sql -D datadir Any comments are welcome. Regards, -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2011-11-01 00:36:16
|
> I was not sure of the overall design, just trying to point out the > theoretical danger, and again, because DDL was added for slaves, I was > originally not sure if the intention was to allow them to retain their > names and yet be able to be promoted. That is why I mentioned naming > the partitions and using that order. Alternatively, perhaps one could > use an internal id/OID behind the scenes for the partions, sort by > that for determine hash & modulo buckets, and have a mapping of the > partitions and node instances. Each master and standby should know > what its partion id/oid is, perhaps returned at connection time when > the connection comes from a coordinator. This might do away with the > node renaming issue. Just something to mull over. Or, maybe some > standby naming convention will help. We should just think ahead a > little bit about possible HA management scenarios for flexibility. > That's always good to remind there may be future issues in the future regarding that. > > Just about that.... > > The first meaning of registering nodes on GTM was to keep a track of all > the > > node information in the cluster. > > But now that node names are the same and have to remain constant in the > > cluster, is this really necessary? > > Removing that will also allow to remove pgxc_node_name from guc params. > > Then identifying a node self for Coordinator/Datanode could be done by > > initdb with a SELF/NOT SELF keyword as an extension of CREATE DDL. > > Maybe it is a good idea. How would a node rename itself later then? > ALTER NODE oldname RENAME newname? Then if it sees that its own name > matches oldname, change itself to newname? Otherwise just update > catalog info? > The initial thought was that a node could not rename itself at the current state and that node names remain constant and consistant in the cluster. That's why no SQL extensions have been made on this purpose yet. In case a slave has to be changed to a former master, it should be renamed to the old master though automatically. Once again, one of the possible extensions would be to have a node partition system as you mentioned inside pgxc_node for example. -- Michael Paquier http://michael.otacoo.com |
From: Michael P. <mic...@gm...> - 2011-11-01 00:30:05
|
> > That worked, thank you. > That's good to know. I will commit hopefully this week a patch to add an option in initdb to specify a file that can be used instead of cluster_nodes.sql in share folder. Thanks, -- Michael Paquier http://michael.otacoo.com |