Re: General support on postgres replication

Поиск
Список
Период
Сортировка
От Laurenz Albe
Тема Re: General support on postgres replication
Дата
Msg-id 5f0a9def7fddf4cfca1d6ea2af141da633b97d37.camel@cybertec.at
обсуждение исходный текст
Ответ на General support on postgres replication  (Vijaykumar Patil <vijaykumar.patil@maersk.com>)
Ответы RE: General support on postgres replication
Список pgsql-general
On Wed, 2023-11-22 at 08:57 +0000, Vijaykumar Patil wrote:
> I have created streaming replication with two nodes .
>  
> One is primary and 2nd one is standby but after doing any DML or DDL operation on
> primary Walreceiver process is terminated on standby and standby database is
> opening in read write mode.
>  
> Below are the error details .
>  
> 2023-11-22 03:39:58 EST [1275942]: user=,db=,app=,client=LOG:  recovery stopping before commit of transaction 25627,
time2023-11-22 03:39:58.013764-05 
> 2023-11-22 03:39:58 EST [1275942]: user=,db=,app=,client=LOG:  redo done at 1/260059E0 system usage: CPU: user: 0.02
s,system: 0.04 s, elapsed: 5197.90 s 
> 2023-11-22 03:39:58 EST [1276846]: user=,db=,app=,client=FATAL:  terminating walreceiver process due to administrator
command
> ERROR: [037]: archive-get command requires option: pg1-path
>        HINT: does this stanza exist?

It looks like you have a bad "restore_command" configured.

It would be intereseting to see the log lines before the ones you are showing.

Yours,
Laurenz Albe



В списке pgsql-general по дате отправления:

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: strange behavior of pg_hba.conf file
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Configuration knobs & dials to speed up query optimization