public inbox for [email protected]
help / color / mirror / Atom feedRe: Basebackup fails without useful error message
2+ messages / 2 participants
[nested] [flat]
* Re: Basebackup fails without useful error message
@ 2024-10-21 20:49 Koen De Groote <[email protected]>
0 siblings, 1 reply; 2+ messages in thread
From: Koen De Groote @ 2024-10-21 20:49 UTC (permalink / raw)
To: Adrian Klaver <[email protected]>; +Cc: PostgreSQL General <[email protected]>
See, I'm reading that, and my conclusion is "Ah great, it will try again,
everything will be fine."
There's a link between the archive_command, pg_basebackup and
wal_sender_timeout, but that link isn't clear from just reading all these
documentation pages when learning about their concepts separately.
It's just too much information to read and then "just know" in your head
that these must be the relations. Especially if you have dozens of other
things to do.
That's my 2 cents.
Regards,
Koen De Groote
On Sun, Oct 20, 2024 at 11:12 PM Adrian Klaver <[email protected]>
wrote:
> On 10/20/24 14:03, Koen De Groote wrote:
>
> > So I'm assuming the process of writing WAL files, if there is an
> > archive_command set, is only considered to be finished after the archive
> > is written, not just when the WAL file is written in pg_wal.
>
>
> https://www.postgresql.org/docs/current/continuous-archiving.html#BACKUP-ARCHIVING-WAL
>
> "It is important that the archive command return zero exit status if and
> only if it succeeds. Upon getting a zero result, PostgreSQL will assume
> that the file has been successfully archived, and will remove or recycle
> it. However, a nonzero status tells PostgreSQL that the file was not
> archived; it will try again periodically until it succeeds."
>
>
> > Regards,
> > Koen De Groote
> >
> >
>
> --
> Adrian Klaver
> [email protected]
>
>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Basebackup fails without useful error message
@ 2024-10-21 22:08 Adrian Klaver <[email protected]>
parent: Koen De Groote <[email protected]>
0 siblings, 0 replies; 2+ messages in thread
From: Adrian Klaver @ 2024-10-21 22:08 UTC (permalink / raw)
To: Koen De Groote <[email protected]>; +Cc: PostgreSQL General <[email protected]>
On 10/21/24 13:49, Koen De Groote wrote:
> See, I'm reading that, and my conclusion is "Ah great, it will try
> again, everything will be fine."
Unless it never completes and you hit the timeout.
>
> There's a link between the archive_command, pg_basebackup and
> wal_sender_timeout, but that link isn't clear from just reading all
> these documentation pages when learning about their concepts separately.
>
> It's just too much information to read and then "just know" in your head
> that these must be the relations. Especially if you have dozens of other
> things to do.
>
> That's my 2 cents.
>
> Regards,
> Koen De Groote
>
--
Adrian Klaver
[email protected]
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2024-10-21 22:08 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-21 20:49 Re: Basebackup fails without useful error message Koen De Groote <[email protected]>
2024-10-21 22:08 ` Adrian Klaver <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox