Thursday , September 29 2022

ERROR: requested WAL segment 000000020000000000000006 has already been removed

Today we will look into the requested WAL segment 000000020000000000000006 has already been removed error.

I will share the following error with its solution, after switchover between primary and standby in PostgreSQL. (Database version : PostgreSQL 13)

Error :

LOG: started streaming WAL from primary at 0/6000000 on timeline 2
FATAL: could not receive data from WAL stream: ERROR: requested WAL segment 000000020000000000000006 has already been removed

Solution :

Melek Durdu
Author: Melek Durdu

About Melek Durdu

Leave a Reply

Your email address will not be published. Required fields are marked *