pg.ddx.io  pgbouncer/pgbouncer GitHub issues and pull requests  
help / color / mirror / Atom feed
From: petere (@petere) <noreply+petere@github.com>
To: pgbouncer/pgbouncer <noreply+pgbouncer-pgbouncer@github.com>
Subject: Re: [pgbouncer/pgbouncer] issue #715: Concurrent use of RESUME with PAUSE makes PAUSE hang permanently
Date: Mon, 07 Nov 2022 15:46:09 +0000
Message-ID: <gh-pgbouncer-pgbouncer-715-c1305805146@github.com> (raw)
In-Reply-To: <gh-pgbouncer-pgbouncer-715@github.com>
References: <gh-pgbouncer-pgbouncer-715@github.com>

Looking at the implementations of `admin_cmd_pause()` and `admin_cmd_resume()`, it's easy to see how this can happen.

To fix, we might need some locking on the "pause state", or count the pause requests, or something along those lines. Ideas welcome.

view thread (6+ messages)  latest in thread

Message-ID: <gh-pgbouncer-pgbouncer-715-c1305805146@github.com>
Permalink:  ../gh-pgbouncer-pgbouncer-715-c1305805146@github.com/

 · 


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