planned switch over master/slave

From: Yambu <hyambu(at)gmail(dot)com>
To: Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: planned switch over master/slave
Date: 2021-01-19 09:55:20
Message-ID: CALhHtcDfZPkK+YmJUMPMrbu3LJe16u6hnL6PvDMqUhOhPC_CHQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Amine Tengilimoglu 2021-01-19 10:02:55 Re: planned switch over master/slave
Previous Message Laurenz Albe 2021-01-19 09:32:59 Re: hot standby in Postgresql 12