BUG #17685: pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGS

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #17685: pg_rewind: error: unexpected result while fetching remote files: ERROR: could not open file ".s.PGS
Дата
Msg-id 17685-2456943edafec3e7@postgresql.org
обсуждение исходный текст
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      17685
Logged by:          强 魏
Email address:      1726002692@qq.com
PostgreSQL version: 15.1
Operating system:   Centos 7.6
Description:

unix_socket_directories=".,/tmp"   or unix_socket_directories='.'

pg_rewind will be error:pg_rewind: error: unexpected result while fetching
remote files: ERROR:  could not open file ".s.PGSQL.5433" for reading:
没有那个设备或地址

[pg15@PG02 pg151]$ pg_rewind --target-pgdata=/pgdata/pg151
--source-server="host=192.168.247.100 port=5433 user=postgres password=root
dbname=postgres" -R -n
pg_rewind: servers diverged at WAL location 0/300000D8 on timeline 8
pg_rewind: rewinding from last common checkpoint at 0/30000028 on timeline
8
pg_rewind: error: unexpected result while fetching remote files: ERROR:
could not open file ".s.PGSQL.5433" for reading: 没有那个设备或地址


unix_socket_directories='/tmp'  pg_rewind is ok

[pg15@PG02 pg151]$ pg_rewind --target-pgdata=/pgdata/pg151
--source-server="host=192.168.247.100 port=5433 user=postgres password=root
dbname=postgres" -R
pg_rewind: servers diverged at WAL location 0/300000D8 on timeline 8
pg_rewind: rewinding from last common checkpoint at 0/30000028 on timeline
8
pg_rewind: Done!


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

Предыдущее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17684: pg_rewind ---could not receive data from WAL stream: ERROR: requested WAL segment 00000005000000000
Следующее
От: hubert depesz lubaczewski
Дата:
Сообщение: Re: WAL segments removed from primary despite the fact that logical replication slot needs it.