pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use higher wal_level for 004_io_direct.pl.
Date: Sat, 08 Apr 2023 20:36:46 +0000
Message-ID: <E1plFIj-0026Ce-5K@gemulon.postgresql.org> (raw)

Use higher wal_level for 004_io_direct.pl.

The new direct I/O test deliberately uses a very small shared_buffers to
force some disk transfers without making the data set large and slow,
but ran into a problem with wal_level = minimal: log_newpage_range()
pins many buffers, leading to a few intermittent "no unpinned buffers
available" errors.

We could presumably fix that by adjusting shared_buffers, but crake
seems to be trying to tell us something interesting with these settings,
so let's just avoid wal_level = minimal in this test for now.

Reported-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20230408060408.n7xdwk3mxj5oykt6%40awork3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/980e8879f54a7a00ca6a5bae2fe9486c87ef3e8e

Modified Files
--------------
src/test/modules/test_misc/t/004_io_direct.pl | 1 +
1 file changed, 1 insertion(+)



Message-ID: <E1plFIj-0026Ce-5K@gemulon.postgresql.org>
Permalink:  ../E1plFIj-0026Ce-5K@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1plFIj-0026Ce-5K@gemulon.postgresql.org

 · 

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-committers@postgresql.org
  Cc: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Use higher wal_level for 004_io_direct.pl.
  In-Reply-To: <E1plFIj-0026Ce-5K@gemulon.postgresql.org>

* 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