diff options
author | Michael Paquier <michael@paquier.xyz> | 2024-03-06 14:38:25 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2024-03-06 14:39:40 +0900 |
commit | 08a52ab151ca599406883768cdc08b7929e516de (patch) | |
tree | 095d96a2772afb6c0a509233ca9b3a416c90dedd /doc/src | |
parent | d93627bcbe5001750e7611f0e637200e2d81dcff (diff) | |
download | postgresql-08a52ab151ca599406883768cdc08b7929e516de.tar.gz postgresql-08a52ab151ca599406883768cdc08b7929e516de.zip |
Add recovery TAP test for race condition with slot invalidations
This commit adds a recovery test to provide coverage for the bug fixed
in 818fefd8fd, using an injection point to wait just after the process
of an active slot is killed. The trick is to give enough time for
effective_xmin and effective_catalog_xmin to advance so as the slot
invalidation robustness can be checked since the active process is
killed without holding its slot's mutex for a short time.
Author: Bertrand Drouvot
Discussion: https://postgr.es/m/ZdyZya4YrNapWKqz@ip-10-97-1-34.eu-west-3.compute.internal
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions