pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Ribe <scott_ribe@elevated-dev.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: max_slot_wal_keep_size
Date: Mon, 16 Aug 2021 07:58:17 -0600
Message-ID: <58D79C5B-B9FE-403B-97C0-40B6DF1E00CF@elevated-dev.com> (raw)

If I use max_slot_wal_keep_size to limit disk impact of a down replica, and subsequently a down replica causes PG to hit this limit, is there a particular message that will be logged when the limit is crossed and PG starts to purge WAL?

Context is: trying to debug a failure to bring up a replica, where the failure happened in the middle of a moderately complex chain of events that likely started with a bad disk. (Patroni is involved, FWIW)

--
Scott Ribe
scott_ribe@elevated-dev.com
https://www.linkedin.com/in/scottribe/





--
Scott Ribe
scott_ribe@elevated-dev.com
https://www.linkedin.com/in/scottribe/








view thread (3+ messages)  latest in thread

Message-ID: <58D79C5B-B9FE-403B-97C0-40B6DF1E00CF@elevated-dev.com>
Permalink:  ../58D79C5B-B9FE-403B-97C0-40B6DF1E00CF@elevated-dev.com/
Also on:    postgresql.org/message-id/58D79C5B-B9FE-403B-97C0-40B6DF1E00CF@elevated-dev.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: scott_ribe@elevated-dev.com, pgsql-admin@lists.postgresql.org
  Subject: Re: max_slot_wal_keep_size
  In-Reply-To: <58D79C5B-B9FE-403B-97C0-40B6DF1E00CF@elevated-dev.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox