diff options
author | Thomas Munro <tmunro@postgresql.org> | 2021-03-10 16:17:34 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2021-03-10 17:44:04 +1300 |
commit | aeb57af8e64000cc4288a7b8b8d7cf6040eae900 (patch) | |
tree | 918813dd2d4df20b98c896c7ab50745609fbc306 /src/backend/access/gist/gistproc.c | |
parent | 44bf3d5083e151d772c5d6f656e3e162f573dced (diff) |
pgbench: Synchronize client threads.
Wait until all pgbench threads are connected before benchmarking begins.
This fixes a problem where some connections could take a very long time
to be established because of lock contention from earlier connections,
making results unstable and bogus with high connection counts.
Author: Andres Freund <andres@anarazel.de>
Author: Fabien COELHO <coelho@cri.ensmp.fr>
Reviewed-by: Marina Polyakova <m.polyakova@postgrespro.ru>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com>
Reviewed-by: David Rowley <dgrowleyml@gmail.com>
Discussion: https://postgr.es/m/20200227180100.zyvjwzcpiokfsqm2%40alap3.anarazel.de
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions