Re: pg_basebackup and pg_switch_wal()

From: Israel Barth Rubio <barthisrael(at)gmail(dot)com>
To: Fabrice Chapuis <fabrice636861(at)gmail(dot)com>
Cc: Sergei Kornilov <sk(at)zsrv(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_basebackup and pg_switch_wal()
Date: 2025-07-29 22:47:31
Message-ID: CAO_rXXCRSUH9Onp0+aWZ9DZRoZurL6QtcMLDT5kRTVFSuByhKg@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello Fabrice,

> But I do not understand this error with the barman wrapper:
>
> Backup completed (start time: 2025-07-26 21:45:07.238223, elapsed time:
19 seconds)
> Waiting for the WAL file 0000000300000B3F0000000C from server 'x_service'
(max: 600 seconds)
> Processing xlog segments from streaming for x_service
> 0000000300000B3F0000000A
> Processing xlog segments from streaming for x_service
> 0000000300000B3F0000000B
> ERROR: The WAL file 0000000300000B3F0000000C has not been received in 600
seconds

Are you by chance running PostgreSQL 17?

If you are using PostgreSQL 17, you are very likely encountering the issue
tracked here: https://github.com/EnterpriseDB/barman/issues/1041. In that
case,
a fix has already been merged and will be included in an upcoming release of
Barman.

As a quick note for the future, the Barman GitHub issues page is the
correct place
to report problems like this directly to the development team. In any case,
I understand
that you raised it here given the context of the original question about
pg_basebackup.

Hope that helps you.

Best regards,
Israel.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Iván Chavero 2025-07-29 23:11:29 Re: libxml2 author overwhelmed with security requests
Previous Message Kirk Wolak 2025-07-29 22:16:26 Re: proposal: plpgsql, new check for extra_errors - strict_expr_check