Re: planned switch over master/slave - Mailing list pgsql-admin

From Amine Tengilimoglu
Subject Re: planned switch over master/slave
Date
Msg-id CADTdw-yBevLTGZ6gYjLRdgthk6VKUWrexu-Bi-4WL3Xx5d-Z7w@mail.gmail.com
Whole thread Raw
In response to planned switch over master/slave  (Yambu <hyambu@gmail.com>)
List pgsql-admin
Hi;

   You can ignore it. It says the streaming is broken. you can promote the slave

Yambu <hyambu@gmail.com>, 19 Oca 2021 Sal, 12:55 tarihinde şunu yazdı:
Hello

When I stop the master before promoting a slave I get the error below from the slave. Should I just ignore it and go on to promote slave?

Im using Pg v10

2021-01-18 14:31:29.090 GMT [25770] DETAIL:  End of WAL reached on timeline 1 at 6/79000098.
2021-01-18 14:31:29.090 GMT [25770] FATAL:  could not send end-of-streaming message to primary: no COPY in progress
2021-01-18 14:31:29.091 GMT [25766] LOG:  invalid record length at 6/79000098: wanted 24, got 0

pgsql-admin by date:

Previous
From: Yambu
Date:
Subject: planned switch over master/slave
Next
From: Yambu
Date:
Subject: Clean Postgres shutdown