Re: 9.6 -> 10.0
От | Josh berkus |
---|---|
Тема | Re: 9.6 -> 10.0 |
Дата | |
Msg-id | 57363CD0.2030602@agliodbs.com обсуждение исходный текст |
Ответ на | Re: 9.6 -> 10.0 (Devrim Gündüz <devrim@gunduz.org>) |
Ответы |
Re: 9.6 -> 10.0
|
Список | pgsql-advocacy |
On 05/13/2016 01:41 PM, Bruce Momjian wrote: > On Thu, May 12, 2016 at 02:07:04PM -0300, Euler Taveira wrote: >> On 12-05-2016 13:09, Bruce Momjian wrote: >>> That is an interesting approach. How many applications are prepared to >>> re-sent a transaction block based on the error returned by pgbouncer in >>> this case? >>> >> FYI, pgBouncer does not error out transactions. While in PAUSE mode, >> pgBouncer waits for the current transactions to finish and the new ones >> are put in a wait queue. After the RESUME command, pgBouncer sends the >> transaction in the wait queue. Of course, if your application has a >> response timeout you will see cancellations. > > Oh, that seems useful. > The missing feature is that you can never forceably terminate the connections to the old master without restarting pgbouncer. And if you just shut down the old database server, with some clients still connected, pgbouncer goes into "error mode" and starts denying some legit connections. So there's still work to be done here. -- -- Josh Berkus Red Hat OSAS (any opinions are my own)
В списке pgsql-advocacy по дате отправления: