summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-10 16:17:34 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-10 17:44:04 +1300
commitaeb57af8e64000cc4288a7b8b8d7cf6040eae900 (patch)
tree918813dd2d4df20b98c896c7ab50745609fbc306 /src/backend/access/gist/gistproc.c
parent44bf3d5083e151d772c5d6f656e3e162f573dced (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