diff options
author | Amit Kapila <akapila@postgresql.org> | 2023-05-09 14:25:33 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2023-05-09 14:25:33 +0530 |
commit | c5b7f67fcc8c4a01c82660eb0996a3c697fac283 (patch) | |
tree | 6b0927f5518ba092d9c35cd29dc11172e8fbe74f /doc/src/sgml/config.sgml | |
parent | 3d144c6c86025272e1711539f5fafb6fb85c4feb (diff) | |
download | postgresql-c5b7f67fcc8c4a01c82660eb0996a3c697fac283.tar.gz |
Fix the race condition in the test case added by commit a6e04b1d20.
The commit a6e04b1d20 added a test to ensure that the invalidated logical
slots don't retain WAL. The test was ensuring that the checkpoint removes
the WAL files corresponding to invalidated logical slots on the standby
node but missed the point that the standby node also had a physical slot
which led to the prevention of WAL file removal. Move the creation of
physical slot on the standby and initialization of cascading standby closer
to the test case that actually required it so that other tests don't get
affected by the presence of the physical slot on standby.
Author: Bertrand Drouvot
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/2fefa454-5a70-2174-ddbf-4a0e41537139@gmail.com
Diffstat (limited to 'doc/src/sgml/config.sgml')
0 files changed, 0 insertions, 0 deletions