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
(1) |
2
(2) |
3
|
4
|
5
|
6
|
7
|
8
|
9
|
10
|
11
|
12
|
13
|
14
|
15
|
16
|
17
|
18
(5) |
19
|
20
|
21
|
22
|
23
|
24
(4) |
25
(3) |
26
|
27
|
28
|
29
|
30
|
31
(1) |
|
|
From: Wang D. <dia...@gm...> - 2014-07-31 01:29:38
|
Hi, because struct pgxc_node_handle is not a kind of Node, we could not use function list_member, list_delete. Patch attached. |
From: Mason S. <ms...@tr...> - 2014-07-25 13:36:45
|
On Thu, Jul 24, 2014 at 9:38 PM, 鈴木 幸市 <ko...@in...> wrote: > Background is to make configuration as simple as possible and to make > promotion simpler. XC primitive nodes support different port for master > and slave, as in vanilla PG. > > When promoting slave with the same port number, VIP will help to connect > to the node without change in the target port/host. VIP cannot do this if > port number is different. I understand this helps only for coordinator. > I think it’s also better to make coordinator/datanode configuration as same > as possible. > I had assumed this to be the reason. It makes sense to do as the default. I think it would be a nice option to be able to configure differently for development and debugging. I added this to Postgres-XL as a ticket with a low priority, since I would like to see it at least get in there eventually, to optionally override. https://sourceforge.net/p/postgres-xl/tickets/25/ > > Regards; > --- > Koichi Suzuki > > 2014/07/24 21:08、Pavan Deolasee <pav...@gm...> のメール: > > I noticed that we can't specify port number for datanode slave nodes > that are different from the master nodes. Is it that way for a good reason? > I'm asking before if I need to test this feature on a single node, I would > like to run master and slave on the same machine. But since they use the > same port number, its not possible to do that. Should we consider > supporting different ports for datanode (and coordinator slaves) just like > we do for GTM slave? > > Thanks, > Pavan > > -- > Pavan Deolasee > http://www.linkedin.com/in/pavandeolasee > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds_______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > -- Mason Sharp TransLattice - http://www.translattice.com Distributed and Clustered Database Solutions |
From: 鈴木 幸市 <ko...@in...> - 2014-07-25 01:38:19
|
Background is to make configuration as simple as possible and to make promotion simpler. XC primitive nodes support different port for master and slave, as in vanilla PG. When promoting slave with the same port number, VIP will help to connect to the node without change in the target port/host. VIP cannot do this if port number is different. I understand this helps only for coordinator. I think it’s also better to make coordinator/datanode configuration as same as possible. Regards; --- Koichi Suzuki 2014/07/24 21:08、Pavan Deolasee <pav...@gm...<mailto:pav...@gm...>> のメール: I noticed that we can't specify port number for datanode slave nodes that are different from the master nodes. Is it that way for a good reason? I'm asking before if I need to test this feature on a single node, I would like to run master and slave on the same machine. But since they use the same port number, its not possible to do that. Should we consider supporting different ports for datanode (and coordinator slaves) just like we do for GTM slave? Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds_______________________________________________ Postgres-xc-developers mailing list Pos...@li... https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: 鈴木 幸市 <ko...@in...> - 2014-07-25 01:33:48
|
Thanks Pavan; The patch has been committed to all the relevant branches. --- Koichi Suzuki 2014/07/24 20:15、Pavan Deolasee <pav...@gm...<mailto:pav...@gm...>> のメール: On Thu, Jul 24, 2014 at 11:25 AM, Koichi Suzuki <koi...@gm...<mailto:koi...@gm...>> wrote: Thanks a lot for pointing out. Could you submit a patch for this? Sure. Attached. Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee <xc_use_pclose.patch>------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds_______________________________________________ Postgres-xc-developers mailing list Pos...@li... https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers |
From: Pavan D. <pav...@gm...> - 2014-07-24 12:08:54
|
I noticed that we can't specify port number for datanode slave nodes that are different from the master nodes. Is it that way for a good reason? I'm asking before if I need to test this feature on a single node, I would like to run master and slave on the same machine. But since they use the same port number, its not possible to do that. Should we consider supporting different ports for datanode (and coordinator slaves) just like we do for GTM slave? Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee |
From: Koichi S. <koi...@gm...> - 2014-07-24 05:55:41
|
Thanks a lot for pointing out. Could you submit a patch for this? 2014/07/24 13:09 "Pavan Deolasee" <pav...@gm...>: > Hello All, > > AFAICS that pgxc_ctl uses popen() at many places to execute a command and > sometimes to also parse back the output. I've been chasing a bug that would > cause subsequent reads on the FILE * returned by popen() to return EOF. > After some investigations, it seems that the correct way to close the file > descriptor returned by popen() is to use pclose() which fclose() does not > reset the pipe state properly whereas pclose() does. The current XC code > uses fclose() instead which probably works fine on some platforms such as > Linux, but fails on other such as Mac OSX. > > Should we consider replacing fclose() with pclose() for pipes opened by > popen()? > > Thanks, > Pavan > > -- > Pavan Deolasee > http://www.linkedin.com/in/pavandeolasee > > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > |
From: Pavan D. <pav...@gm...> - 2014-07-24 04:07:57
|
Hello All, AFAICS that pgxc_ctl uses popen() at many places to execute a command and sometimes to also parse back the output. I've been chasing a bug that would cause subsequent reads on the FILE * returned by popen() to return EOF. After some investigations, it seems that the correct way to close the file descriptor returned by popen() is to use pclose() which fclose() does not reset the pipe state properly whereas pclose() does. The current XC code uses fclose() instead which probably works fine on some platforms such as Linux, but fails on other such as Mac OSX. Should we consider replacing fclose() with pclose() for pipes opened by popen()? Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee |
From: Pavan D. <pav...@gm...> - 2014-07-18 15:10:41
|
My apologies. It was meant for XL list. Thanks, Pavan On Fri, Jul 18, 2014 at 8:32 PM, Koichi Suzuki <koi...@gm...> wrote: > The patch looks specific to XL and I don' t understand the directive > #ifdef XCP in bash script. Could I have more explanation on this? > --- > Koichi Suzuki > > > 2014-07-18 15:04 GMT+09:00 Pavan Deolasee <pav...@gm...>: > > Hello, > > > > AFAICS contrib/pgxc_ctl/pgxc_ctl_bash.c is auto generated from dependent > > files such as pgxc_ctl_bash_2. We have one version of pgxc_ctl_bash.c > > checked in the repository which contains logic to read the datanode > pooler > > ports information correctly. But if the file gets overwritten during > build > > process, we lose those changes. How about applying the attached patch? > > > > Thanks, > > Pavan > > > > -- > > Pavan Deolasee > > http://www.linkedin.com/in/pavandeolasee > > > > > ------------------------------------------------------------------------------ > > Want fast and easy access to all the code in your enterprise? Index and > > search up to 200,000 lines of code with a free copy of Black Duck > > Code Sight - the same software that powers the world's largest code > > search on Ohloh, the Black Duck Open Hub! Try it now. > > http://p.sf.net/sfu/bds > > _______________________________________________ > > Postgres-xc-developers mailing list > > Pos...@li... > > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > > > -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee |
From: Koichi S. <koi...@gm...> - 2014-07-18 15:02:21
|
The patch looks specific to XL and I don' t understand the directive #ifdef XCP in bash script. Could I have more explanation on this? --- Koichi Suzuki 2014-07-18 15:04 GMT+09:00 Pavan Deolasee <pav...@gm...>: > Hello, > > AFAICS contrib/pgxc_ctl/pgxc_ctl_bash.c is auto generated from dependent > files such as pgxc_ctl_bash_2. We have one version of pgxc_ctl_bash.c > checked in the repository which contains logic to read the datanode pooler > ports information correctly. But if the file gets overwritten during build > process, we lose those changes. How about applying the attached patch? > > Thanks, > Pavan > > -- > Pavan Deolasee > http://www.linkedin.com/in/pavandeolasee > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > |
From: Michael P. <mic...@gm...> - 2014-07-18 07:05:19
|
On Fri, Jul 18, 2014 at 3:26 PM, Pavan Deolasee <pav...@gm...> wrote: > I think its a bad idea to use killall to terminate existing processes. I > noticed this for GTM, but the same may apply to other kinds of processes > too. In my case, I was setting up GTM master and standby on the same > machine. pgxc_ctl was failing to start up GTM correctly. Upon investigation, > I figured out that while initialising/starting GTM slave, it first kills any > existing GTM processes using "killall gtm". This kills the GTM master as > well. > > There are several issues with using killall > > 1. It may kill unrelated processes e.g. I'd a vim session on gtm_cmd.c and > it got killed too That's actually kind of funny, just laughed lonely in front of my screen. > 2. It may kill processes belonging to another instance, if user is running > multiple database clusters on the same machine This one is less funny :( > 3. killall -9 It doesn't do a clean shutdown which may cause issues > I wonder why can't we just rely on -m immediate? If the process fails to > respond to that, either we have a bug to fix or worst administrator can > manually kill the processes he wants. Even if we have to use kill command, > can we not read PID from the .pid file and send signal to that particular > process only? Clearly. Partially written WAL record is an example of a bad thing that could happen for Postgres. For GTM there are for sure similar race conditions with a standby. The same applies to Postgres as well. The usual, recommended, way is to use pg_ctl stop -m immediate in the worst case. Isn't XC bundled with gtm_ctl that could be used instead of killall? That's the same as sending a SIGQUIT after scanning the GTM PID though.. Regards, -- Michael |
From: Pavan D. <pav...@gm...> - 2014-07-18 06:26:30
|
Hello, I think its a bad idea to use killall to terminate existing processes. I noticed this for GTM, but the same may apply to other kinds of processes too. In my case, I was setting up GTM master and standby on the same machine. pgxc_ctl was failing to start up GTM correctly. Upon investigation, I figured out that while initialising/starting GTM slave, it first kills any existing GTM processes using "killall gtm". This kills the GTM master as well. There are several issues with using killall 1. It may kill unrelated processes e.g. I'd a vim session on gtm_cmd.c and it got killed too 2. It may kill processes belonging to another instance, if user is running multiple database clusters on the same machine 3. killall -9 It doesn't do a clean shutdown which may cause issues I wonder why can't we just rely on -m immediate? If the process fails to respond to that, either we have a bug to fix or worst administrator can manually kill the processes he wants. Even if we have to use kill command, can we not read PID from the .pid file and send signal to that particular process only? Thanks, Pavan -- Pavan Deolasee http://www.linkedin.com/in/pavandeolasee |
From: Koichi S. <koi...@gm...> - 2014-07-02 02:32:07
|
I applied the fix to 1.1, 1.2 and master. 1.0 does not accept this fix. Thank you ; --- Koichi Suzuki 2014-07-02 11:24 GMT+09:00 Koichi Suzuki <koi...@gm...>: > Thank you Mark for the fix. > > It looks reasonable and should go to all the versions. I'll commit it soon. > --- > Koichi Suzuki > > > 2014-07-01 23:05 GMT+09:00 Mark, Stefan <Ste...@se...>: >> Hallo, >> >> there's a problem in postgres-xc v1.1 (and maybe also in other versions) that data that contains "\" and column separator is not replicated correctly to newly added data nodes. After some investigation we figured out that "\" and column separator are not quoted. The appended patch fixes this problem. >> >> Regards >> Stefan >> >> -- >> Dipl. Inf. >> Stefan Mark >> Consultant >> Public Sector >> secunet Security Networks AG >> >> >> Phone: +49-201-5454-3583, Fax: +49-201-5454-1323 >> E-Mail: ste...@se... >> Ammonstraße 64, 01067 Dresden, Germany >> www.secunet.com >> >> ______________________________________________________________________ >> >> Registered at: Kronprinzenstraße 30, 45128 Essen, Deutschland >> Amtsgericht Essen HRB 13615 >> Management Board: Dr Rainer Baumgart (CEO), Willem Bulthuis, Thomas Pleines >> Chairman of Supervisory Board: Dr Peter Zattler >> ______________________________________________________________________ >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Postgres-xc-developers mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers >> |
From: Koichi S. <koi...@gm...> - 2014-07-02 02:24:22
|
Thank you Mark for the fix. It looks reasonable and should go to all the versions. I'll commit it soon. --- Koichi Suzuki 2014-07-01 23:05 GMT+09:00 Mark, Stefan <Ste...@se...>: > Hallo, > > there's a problem in postgres-xc v1.1 (and maybe also in other versions) that data that contains "\" and column separator is not replicated correctly to newly added data nodes. After some investigation we figured out that "\" and column separator are not quoted. The appended patch fixes this problem. > > Regards > Stefan > > -- > Dipl. Inf. > Stefan Mark > Consultant > Public Sector > secunet Security Networks AG > > > Phone: +49-201-5454-3583, Fax: +49-201-5454-1323 > E-Mail: ste...@se... > Ammonstraße 64, 01067 Dresden, Germany > www.secunet.com > > ______________________________________________________________________ > > Registered at: Kronprinzenstraße 30, 45128 Essen, Deutschland > Amtsgericht Essen HRB 13615 > Management Board: Dr Rainer Baumgart (CEO), Willem Bulthuis, Thomas Pleines > Chairman of Supervisory Board: Dr Peter Zattler > ______________________________________________________________________ > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Postgres-xc-developers mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-developers > |
From: Mark, S. <Ste...@se...> - 2014-07-01 14:29:02
|
Hallo, there's a problem in postgres-xc v1.1 (and maybe also in other versions) that data that contains "\" and column separator is not replicated correctly to newly added data nodes. After some investigation we figured out that "\" and column separator are not quoted. The appended patch fixes this problem. Regards Stefan -- Dipl. Inf. Stefan Mark Consultant Public Sector secunet Security Networks AG Phone: +49-201-5454-3583, Fax: +49-201-5454-1323 E-Mail: ste...@se... Ammonstraße 64, 01067 Dresden, Germany www.secunet.com ______________________________________________________________________ Registered at: Kronprinzenstraße 30, 45128 Essen, Deutschland Amtsgericht Essen HRB 13615 Management Board: Dr Rainer Baumgart (CEO), Willem Bulthuis, Thomas Pleines Chairman of Supervisory Board: Dr Peter Zattler ______________________________________________________________________ |