diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-20 14:20:48 -0400 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2024-08-20 14:21:34 -0400 |
commit | 768a9fd5535fddb781088b6f83132b9a1b1f5bd3 (patch) | |
tree | decc4acd5e9c77622b658bd06996ed5813dc0f9d /doc/src | |
parent | 4d93bbd4e0d414a33521f62d6249ac88486c866f (diff) | |
download | postgresql-768a9fd5535fddb781088b6f83132b9a1b1f5bd3.tar.gz postgresql-768a9fd5535fddb781088b6f83132b9a1b1f5bd3.zip |
Add injection-point test for new multixact CV usage
Before commit a0e0fb1ba56f, multixact.c contained a case in the
multixact-read path where it would loop sleeping 1ms each time until
another multixact-create path completed, which was uncovered by any
tests. That commit changed the code to rely on a condition variable
instead. Add a test now, which relies on injection points and "loading"
thereof (because of it being in a critical section), per commit
4b211003ecc2.
Author: Andrey Borodin <x4mmm@yandex-team.ru>
Reviewed-by: Michaƫl Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/0925F9A9-4D53-4B27-A87E-3D83A757B0E0@yandex-team.ru
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions