You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
(4) |
May
(28) |
Jun
(12) |
Jul
(11) |
Aug
(12) |
Sep
(5) |
Oct
(19) |
Nov
(14) |
Dec
(12) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
(18) |
Feb
(30) |
Mar
(115) |
Apr
(89) |
May
(50) |
Jun
(44) |
Jul
(22) |
Aug
(13) |
Sep
(11) |
Oct
(30) |
Nov
(28) |
Dec
(39) |
2012 |
Jan
(38) |
Feb
(18) |
Mar
(43) |
Apr
(91) |
May
(108) |
Jun
(46) |
Jul
(37) |
Aug
(44) |
Sep
(33) |
Oct
(29) |
Nov
(36) |
Dec
(15) |
2013 |
Jan
(35) |
Feb
(611) |
Mar
(5) |
Apr
(55) |
May
(30) |
Jun
(28) |
Jul
(458) |
Aug
(34) |
Sep
(9) |
Oct
(39) |
Nov
(22) |
Dec
(32) |
2014 |
Jan
(16) |
Feb
(16) |
Mar
(42) |
Apr
(179) |
May
(7) |
Jun
(6) |
Jul
(9) |
Aug
|
Sep
(4) |
Oct
|
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
|
Apr
(2) |
May
(4) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
S | M | T | W | T | F | S |
---|---|---|---|---|---|---|
|
|
|
|
1
(1) |
2
(2) |
3
|
4
|
5
|
6
(1) |
7
(1) |
8
(3) |
9
|
10
|
11
|
12
(2) |
13
(3) |
14
(2) |
15
(7) |
16
(4) |
17
|
18
|
19
(1) |
20
(7) |
21
|
22
(2) |
23
(1) |
24
|
25
|
26
(1) |
27
|
28
(1) |
29
|
30
|
31
|
From: Michael P. <mic...@us...> - 2011-12-01 04:24:31
|
Project "Postgres-XC". The branch, master has been updated via 6fbceecbfedd310d539d4fefe5e75f05b69c6805 (commit) from a43534d7519176e6dcdaf4517b329c2fed935c8b (commit) - Log ----------------------------------------------------------------- http://postgres-xc.git.sourceforge.net/git/gitweb.cgi?p=postgres-xc/postgres-xc;a=commitdiff;h=6fbceecbfedd310d539d4fefe5e75f05b69c6805 commit 6fbceecbfedd310d539d4fefe5e75f05b69c6805 Author: Michael P <mic...@us...> Date: Thu Dec 1 13:21:25 2011 +0900 Support for dynamic pooler/session connection information cache reload A new system function called pgxc_pool_reload has been added. If called, this function reloads connection information to remote nodes in a consistent way with the following process: 1) A lock is taken on pooler forbidding new connection requests 2) Database pools (user and database-dependant pools) are reloaded depending on the node information located on catalog pgxc_node. The following rules are followed depending on node connection information modification: - node whose node and port value is changed has its connections dropped and this node pool is deleted from each database pool - node deleted is deleted from each database pool - node unchanged is kept as is. However, its index value is changed depending on the new cluster configuration. - node created is added to each database pool 3) Lock is released 4) Session that invocated pgxc_pool_reload signals all the other server sessions to reconnect to pooler to allow each agent to update with newest connection information and reload session information related to remote node handles. This has as effect to abort current transactions and to remove all the temporary and prepared objects on session. Then a WARNING message is sent back to client to inform about the cluster configuration modification. 5) Session that invocated pgxc_pool_reload reconnects to pooler by itself and reloads its session information related to remote node handles. No WARNING message is sent back to client to inform about the session reload. This operation is limited to local Coordinator and returns a boolean depending on the success of the operation. If pooler data is consistent with catalog information when pgxc_pool_reload is invocated, nothing is done but a success message is returned. This has the following siplifications for cluster settings: - cluster_nodes.sql is deleted. - a new mandatory option --nodename is used to specify the node name of the node initialized. This allows to set up pgxc_node catalog with the node itself. pgxc_node_name in postgresql.conf is also set automatically. - CREATE/ALTER/DROP node are launched on local Coordinator only, meaning that when a cluster is set up, it is necessary to create node information on each Coordinator and then upload this information to pooler and sessions by invocaing pgxc_pool_reload. This optimization avoids to have to restart a Coordinator when changing cluster configuration and solves security problems related to cluster_nodes.sql that could be edited with all types of SQL even if its first target was only NODE DDL. M doc-xc/src/sgml/func.sgmlin M doc-xc/src/sgml/ref/alter_node.sgmlin M doc-xc/src/sgml/ref/create_node.sgmlin M doc-xc/src/sgml/ref/drop_node.sgmlin M doc-xc/src/sgml/ref/initdb.sgmlin M src/backend/catalog/Makefile D src/backend/catalog/cluster_nodes.sql M src/backend/pgxc/nodemgr/nodemgr.c M src/backend/pgxc/pool/pgxcnode.c M src/backend/pgxc/pool/poolmgr.c M src/backend/pgxc/pool/poolutils.c M src/backend/storage/ipc/procarray.c M src/backend/storage/ipc/procsignal.c M src/backend/tcop/postgres.c M src/backend/tcop/utility.c M src/bin/initdb/initdb.c M src/include/catalog/pg_proc.h M src/include/pgxc/pgxcnode.h M src/include/pgxc/poolmgr.h M src/include/pgxc/poolutils.h M src/include/storage/procarray.h M src/include/storage/procsignal.h M src/include/utils/builtins.h ----------------------------------------------------------------------- Summary of changes: doc-xc/src/sgml/func.sgmlin | 17 ++ doc-xc/src/sgml/ref/alter_node.sgmlin | 3 + doc-xc/src/sgml/ref/create_node.sgmlin | 3 + doc-xc/src/sgml/ref/drop_node.sgmlin | 3 + doc-xc/src/sgml/ref/initdb.sgmlin | 15 ++ src/backend/catalog/Makefile | 3 +- src/backend/catalog/cluster_nodes.sql | 13 - src/backend/pgxc/nodemgr/nodemgr.c | 11 + src/backend/pgxc/pool/pgxcnode.c | 56 +++++- src/backend/pgxc/pool/poolmgr.c | 413 ++++++++++++++++++++++++++++---- src/backend/pgxc/pool/poolutils.c | 151 ++++++++++++ src/backend/storage/ipc/procarray.c | 41 ++++ src/backend/storage/ipc/procsignal.c | 9 +- src/backend/tcop/postgres.c | 4 +- src/backend/tcop/utility.c | 22 +- src/bin/initdb/initdb.c | 72 ++++--- src/include/catalog/pg_proc.h | 2 + src/include/pgxc/pgxcnode.h | 2 +- src/include/pgxc/poolmgr.h | 17 ++ src/include/pgxc/poolutils.h | 3 + src/include/storage/procarray.h | 1 + src/include/storage/procsignal.h | 12 + src/include/utils/builtins.h | 1 + 23 files changed, 767 insertions(+), 107 deletions(-) delete mode 100644 src/backend/catalog/cluster_nodes.sql hooks/post-receive -- Postgres-XC |