Re: pg_terminate_backend() issues

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_terminate_backend() issues
Date: 2008-04-16 17:19:01
Message-ID: 200804161719.m3GHJ1K00964@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Tom Lane wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
> > Tom Lane wrote:
> >> The closest thing I can think of to an automated test is to run repeated
> >> sets of the parallel regression tests, and each time SIGTERM a randomly
> >> chosen backend at a randomly chosen time. Then see if anything "funny"
>
> > Yep, that was my plan, plus running the parallel regression tests you
> > get the possibility of >2 backends.
>
> I was intentionally suggesting only one kill per test cycle. Multiple
> kills will probably create an O(N^2) explosion in the set of possible
> downstream-failure deltas. I doubt you'd really get any improvement
> in testing coverage to justify the much larger amount of hand validation
> needed.

No, the point is that you have >2 backends to choose from to kill.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2008-04-16 17:25:56 pgsql: Add to TODO: > * Implement the non-threaded Avahi service
Previous Message Tom Lane 2008-04-16 17:06:07 Re: pg_terminate_backend() issues

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2008-04-16 17:26:05 Re: [PATCHES] Avahi support for Postgresql
Previous Message Bruce Momjian 2008-04-16 17:13:52 Re: Lessons from commit fest