Re: 011_crash_recovery.pl intermittently fails
Kyotaro Horiguchi <horikyota.ntt@gmail.com>
From: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
To: tgl@sss.pgh.pa.us
Cc: thomas.munro@gmail.com, pg@bowt.ie, pgsql-hackers@lists.postgresql.org,
craig.ringer@enterprisedb.com, robertmhaas@gmail.com
Date: 2021-03-05T09:08:19Z
Lists: pgsql-hackers
At Fri, 05 Mar 2021 16:51:17 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in > The difference comes from the difference of shared_buffers. In the > "allows_streaming" case, PostgresNode::init() *reduces* the number > down to '1MB'(128 blocks) which leads to only 8 XLOGbuffers, which > will very soon be wrap-arounded, which leads to XLogWrite. > > When allows_streaming=0 case, the default size of shared_buffers is > 128MB (16384 blocks). WAL buffer (512) doesn't get wrap-arounded > during the test and no WAL buffer is written out in that case. So I think we need to remove the shared_buffers setting for the allows_streamig case in PostgresNode.pm regards. -- Kyotaro Horiguchi NTT Open Source Software Center
Commits
-
Remove recovery test 011_crash_recovery.pl
- 403d82dd54b5 11.19 landed
- e8fb2a721b36 12.14 landed
- ee11824ac4c2 13.10 landed
- 96d42bd27fef 14.7 landed
- c5b2975ec183 15.2 landed
- 8c1cd726c5d9 16.0 landed
-
Add a txid_status function.
- 857ee8e391ff 10.0 cited