pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix possible lockup in pgbench with -R. 2+ messages / 1 participants [nested] [flat]
* pgsql: Fix possible lockup in pgbench with -R. @ 2019-07-26 19:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-07-26 19:17 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix possible lockup in pgbench with -R. pgbench would sometimes get stuck waiting forever after its last client thread terminated, due to failing to check for there being nothing more to wait for. Bug introduced during refactoring in v10 (I didn't bother to try to assign blame to a specific commit). It's already repaired in HEAD/v12 thanks to commit 3bac77c48, but v10 and v11 need this fix. Fabien Coelho, per report from Tomas Vondra; reviewed by Yoshikazu Imai Discussion: https://postgr.es/m/cc5d76c1-6144-bbed-ad1b-961d13d88f3b@2ndquadrant.com Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/46c193213adb4cbcdd0f8198b361de27d0ca13fe Modified Files -------------- src/bin/pgbench/pgbench.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Fix possible lockup in pgbench with -R. @ 2019-07-26 19:17 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2019-07-26 19:17 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix possible lockup in pgbench with -R. pgbench would sometimes get stuck waiting forever after its last client thread terminated, due to failing to check for there being nothing more to wait for. Bug introduced during refactoring in v10 (I didn't bother to try to assign blame to a specific commit). It's already repaired in HEAD/v12 thanks to commit 3bac77c48, but v10 and v11 need this fix. Fabien Coelho, per report from Tomas Vondra; reviewed by Yoshikazu Imai Discussion: https://postgr.es/m/cc5d76c1-6144-bbed-ad1b-961d13d88f3b@2ndquadrant.com Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/e991b6cce3f26d979a2a47792526f3785bac116b Modified Files -------------- src/bin/pgbench/pgbench.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2019-07-26 19:17 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-07-26 19:17 pgsql: Fix possible lockup in pgbench with -R. Tom Lane <tgl@sss.pgh.pa.us> 2019-07-26 19:17 pgsql: Fix possible lockup in pgbench with -R. Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox