Re: Server crash with Master-Slave configuration.

2019-12-27 Thread Robert Haas
On Wed, Dec 25, 2019 at 1:29 AM Prabhat Sahu wrote: > Thanks Michael for pointing it out, I have re-tested the scenario > with "--tablespace-mapping=OLDDIR=NEWDIR" option of pg_basebackup, and now > its working fine. > But I think, instead of the crash, a proper error message would be > better. >

Re: Server crash with Master-Slave configuration.

2019-12-24 Thread Prabhat Sahu
On Wed, Dec 25, 2019 at 8:01 AM Michael Paquier wrote: > On Tue, Dec 24, 2019 at 05:29:25PM +0530, Prabhat Sahu wrote: > > While performing below operations with Master-Slave configuration, Slave > is > > crashed. > > Below are the steps to reproduce: > > > > -- create a Slave using pg_basebackup

Re: Server crash with Master-Slave configuration.

2019-12-24 Thread Michael Paquier
On Tue, Dec 24, 2019 at 05:29:25PM +0530, Prabhat Sahu wrote: > While performing below operations with Master-Slave configuration, Slave is > crashed. > Below are the steps to reproduce: > > -- create a Slave using pg_basebackup and start: > ./pg_basebackup -v -R -D d2 -p 55510 > mkdir /home/cento