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
|
2
|
3
(2) |
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
(1) |
15
(1) |
16
|
17
|
18
|
19
|
20
|
21
|
22
|
23
|
24
|
25
|
26
|
27
|
28
|
29
|
30
|
31
|
|
|
From: Koichi S. <koi...@gm...> - 2015-12-15 05:00:50
|
If any one of the tables is distributed, NodeA must have a subset of such table raws and they were lost. You need to restore them. With there could be a way to do this manually, although it is tricky and you need to be very familiar with XC internals. Unfortunately, XC does not provide such built-in feature. Thank you; --- Koichi Suzuki https://www.linkedin.com/in/koichidbms 2015-12-15 7:20 GMT+09:00 Timur Allamiyarov <tim...@gm...>: > Hi guys, > > Say I have 3 nodes in my cluster: NodeA (which runs GTM, GTM_proxy, 1 > datanode and 1 coordinator), NodeB and Node C, each running GTM_Proxy, 1 > datanode and 1 coordinator, and > GTM Standby. > > For some reason main NodeA goes down and becomes physically unavailable > (someone shuts it down by mistake or something). > > Is there any way for nodes B and C to negotiate of who's going to become > the main node - promote GTM standy and restart GTM_Proxy? > Does Postgres-XC have any consensus algorithm implemented that could help > solve this issue? > > Thank you. > -Tim > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Timur A. <tim...@gm...> - 2015-12-14 22:20:20
|
Hi guys, Say I have 3 nodes in my cluster: NodeA (which runs GTM, GTM_proxy, 1 datanode and 1 coordinator), NodeB and Node C, each running GTM_Proxy, 1 datanode and 1 coordinator, and GTM Standby. For some reason main NodeA goes down and becomes physically unavailable (someone shuts it down by mistake or something). Is there any way for nodes B and C to negotiate of who's going to become the main node - promote GTM standy and restart GTM_Proxy? Does Postgres-XC have any consensus algorithm implemented that could help solve this issue? Thank you. -Tim |
From: Koichi S. <koi...@gm...> - 2015-12-03 23:10:10
|
What symptom did you have? Didn't DML work against tables? Could you have table's grant list with \z command in psql? If you find that the table is not read only, could you try to create new table for the test? Another information will be found in $PGDATA/postgresql.conf at each node. If you have rebooted your machine several time, each node should have done crash-recovery process and you may find what happened in that log at each node, including both datanode and coordinator. GTM and GTM_Proxy does not need any recovery actions so you may not find useful information in these logs. BTY, current head of Postgres-XC REL1_2_STABLE contains many more fixes for stabilization. I'm about to publish release 1.2.2. All the code is ready and now I'm preparing release note and merging document updates from PostgreSQL minor releases. It is at https://github.com/postgres-x2/postgres-x2. Thank you very much and good luck. --- Koichi Suzuki --- Koichi Suzuki https://www.linkedin.com/in/koichidbms 2015-12-03 14:18 GMT-08:00 Timur Allamiyarov <tim...@gm...>: > Good day, > > I have recently switched to postgresxc v1.2.1, and I find it great. In my > test scenario, I have created GTM, GTM Proxy, Coordinator and Datanode all > running on one server. I then created a new database: > > # create database test_db encoding='UFT8'; > > +several simple tables. All works like a charm. > > However, what I discovered is that for some reason when I re-booted my > server several times (trying to imitate some abnormal conditions) all my > tables in that particular database (test_db) had become read-only. > > Initially I though - may be postgres is in the recovery mode, so I ran: > > postgres=# SELECT pg_is_in_recovery(); > pg_is_in_recovery > ------------------- > f > (1 row) > > I then executed 'SET transaction_read_only = off' and it didn't help > either. > > Any idea what could cause that problem? What will be the solution to fix > it should I face with that issue again? > Thank you. > > -Timur > > > ------------------------------------------------------------------------------ > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140 > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Timur A. <tim...@gm...> - 2015-12-03 22:18:11
|
Good day, I have recently switched to postgresxc v1.2.1, and I find it great. In my test scenario, I have created GTM, GTM Proxy, Coordinator and Datanode all running on one server. I then created a new database: # create database test_db encoding='UFT8'; +several simple tables. All works like a charm. However, what I discovered is that for some reason when I re-booted my server several times (trying to imitate some abnormal conditions) all my tables in that particular database (test_db) had become read-only. Initially I though - may be postgres is in the recovery mode, so I ran: postgres=# SELECT pg_is_in_recovery(); pg_is_in_recovery ------------------- f (1 row) I then executed 'SET transaction_read_only = off' and it didn't help either. Any idea what could cause that problem? What will be the solution to fix it should I face with that issue again? Thank you. -Timur |