pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Joanna Xu <Joanna.Xu@amdocs.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Cc: Sandeep Yadav (93247) <Sandeep.Yadav2@amdocs.com>
Cc: Sylwester Czerniewicz <Sylwester.Czerniewicz@amdocs.com>
Subject: Re: shutdown Postgres (standby) host causing timeout on other servers in replication
Date: Thu, 03 Nov 2022 18:49:40 -0400
Message-ID: <2188169.1667515780@sss.pgh.pa.us> (raw)
In-Reply-To: <AM9PR06MB8313D3D3BF650CD8CC468FA984389@AM9PR06MB8313.eurprd06.prod.outlook.com>
References: <AM9PR06MB8313D3D3BF650CD8CC468FA984389@AM9PR06MB8313.eurprd06.prod.outlook.com>

Joanna Xu <Joanna.Xu@amdocs.com> writes:
> We have PostgreSQL master-slave replication configuration with 4 servers.
> After shutting down one standby server, we found below errors on all other 3 servers and the applications couldn't access the database due to the timeout.
> DAO-00002 datasource connection failure:Time out waiting for a DefaultDataSource
> ERROR SQLException code: 0 SQLState: null

There's no such error message, indeed nothing about "DefaultDataSource"
at all, in the community Postgres code.  I guess it's coming from some
extension or maybe some client-side replication logic.  I suggest
finding where it's coming from and then asking the appropriate authors.

			regards, tom lane





view thread (3+ messages)  latest in thread

Message-ID: <2188169.1667515780@sss.pgh.pa.us>
Permalink:  ../2188169.1667515780@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2188169.1667515780@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Joanna.Xu@amdocs.com, Sandeep.Yadav2@amdocs.com, Sylwester.Czerniewicz@amdocs.com
  Subject: Re: shutdown Postgres (standby) host causing timeout on other servers in replication
  In-Reply-To: <2188169.1667515780@sss.pgh.pa.us>
  References: <AM9PR06MB8313D3D3BF650CD8CC468FA984389@AM9PR06MB8313.eurprd06.prod.outlook.com> <2188169.1667515780@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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