BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)

Поиск
Список
Период
Сортировка
От PG Bug reporting form
Тема BUG #16154: pg_ctl restart with a logfile fails sometimes (on Windows)
Дата
Msg-id 16154-1ccf0b537b24d5e0@postgresql.org
обсуждение исходный текст
Ответы Re: BUG #16154: pg_ctl restart with a logfile fails sometimes (onWindows)  (Alexander Lakhin <exclusion@gmail.com>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16154
Logged by:          Alexander Lakhin
Email address:      exclusion@gmail.com
PostgreSQL version: 12.1
Operating system:   Windows
Description:

When performing regression tests on Windows intermittent failures are
observed, e.g. in src/bin/pg_basebackup test:
vcregress taptest src/bin/pg_basebackup
...
t/010_pg_basebackup.pl ... 10/106 Bailout called.  Further testing stopped:
system pg_ctl failed
FAILED--Further testing stopped: system pg_ctl failed

regress_log_010_pg_basebackup.log contains:
...
ok 13 - backup directory was created and left behind
### Restarting node "main"
# Running: pg_ctl -D
C:/src/postgresql/src/bin/pg_basebackup/tmp_check/t_010_pg_basebackup_main_data/pgdata
-l
C:/src/postgresql/src/bin/pg_basebackup/tmp_check/log/010_pg_basebackup_main.log
restart
waiting for server to shut down.... done
server stopped
waiting for server to start....The process cannot access the file because it
is being used by another process.
 stopped waiting
pg_ctl: could not start server
Examine the log output.
Bail out!  system pg_ctl failed

The issue is caused by sporadic "pg_ctl ... restart -l logfile" failures.


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

Предыдущее
От: MOHAN KUMAR DORAIRAJ
Дата:
Сообщение: Re: BUG #16145: Not able to terminate active session
Следующее
От: "RideNext"
Дата:
Сообщение: RE: Postgres takes more than 6 minutes to come up during host/standby switch over