pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Greg Stark <stark@mit.edu>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: Re: [COMMITTERS] pgsql: Add some isolation tests for deadlock detection and resolution.
Date: Sat, 13 Feb 2016 10:16:14 -0500
Message-ID: <20895.1455376574@sss.pgh.pa.us> (raw)
In-Reply-To: <CAM-w4HOuJPZKN4cgSq8d=8t078X3epXUy1jTTnSDp3vUyv9MJg@mail.gmail.com>
References: <E1aTrXw-0005kd-Nl@gemulon.postgresql.org>
	<21023.1455200996@sss.pgh.pa.us>
	<CA+TgmoYh2UycJAaW+UONuXJhThyRD_Eq_1xDbivROLLYaSfb2Q@mail.gmail.com>
	<CA+TgmoYrakoJzjNm_QpAZ4wktTG=MbPVJZiKETGeeXWaQ1N=1Q@mail.gmail.com>
	<14581.1455205343@sss.pgh.pa.us>
	<20201.1455210279@sss.pgh.pa.us>
	<24444.1455251654@sss.pgh.pa.us>
	<CA+TgmoaV7Tjr4D2+JsW+bBSmnGo4GqgxqKLJ3D8CMr7=Ayhx0Q@mail.gmail.com>
	<1427.1455301014@sss.pgh.pa.us>
	<17358.1455314354@sss.pgh.pa.us>
	<CA+Tgmoa_1NV8+DJB6qLF-8Po+RqvE8F4YEeuTXH9MM5OBf9juQ@mail.gmail.com>
	<26400.1455328772@sss.pgh.pa.us>
	<CAM-w4HOuJPZKN4cgSq8d=8t078X3epXUy1jTTnSDp3vUyv9MJg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Greg Stark <stark@mit.edu> writes:
> The tests worked fine on faster build animals, right? And the clobber
> animals are much much slower.... So it seems perfectly sensible that their
> deadlock timeout would just have to be much much higher to have the same
> behaviour. I see nothing wrong in just setting deadlock timeout to a minute
> or more on these machines.

We don't have a way to make the isolation tests change behavior depending
on how the backend is compiled.  So the only actually available fix is to
make that test take "a minute or more" for *everybody*.

Aside from that, it's just disturbing that these tests aren't
deterministic regardless of machine speed.  We don't seem to have a
way around that right now, but I wish we did.

			regards, tom lane


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers



view thread (30+ messages)  latest in thread

Message-ID: <20895.1455376574@sss.pgh.pa.us>
Permalink:  ../20895.1455376574@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20895.1455376574@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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, stark@mit.edu, pgsql-hackers@postgresql.org, robertmhaas@gmail.com
  Subject: Re: [COMMITTERS] pgsql: Add some isolation tests for deadlock detection and resolution.
  In-Reply-To: <20895.1455376574@sss.pgh.pa.us>
  References: <E1aTrXw-0005kd-Nl@gemulon.postgresql.org> <21023.1455200996@sss.pgh.pa.us> <CA+TgmoYh2UycJAaW+UONuXJhThyRD_Eq_1xDbivROLLYaSfb2Q@mail.gmail.com> <CA+TgmoYrakoJzjNm_QpAZ4wktTG=MbPVJZiKETGeeXWaQ1N=1Q@mail.gmail.com> <14581.1455205343@sss.pgh.pa.us> <20201.1455210279@sss.pgh.pa.us> <24444.1455251654@sss.pgh.pa.us> <CA+TgmoaV7Tjr4D2+JsW+bBSmnGo4GqgxqKLJ3D8CMr7=Ayhx0Q@mail.gmail.com> <1427.1455301014@sss.pgh.pa.us> <17358.1455314354@sss.pgh.pa.us> <CA+Tgmoa_1NV8+DJB6qLF-8Po+RqvE8F4YEeuTXH9MM5OBf9juQ@mail.gmail.com> <26400.1455328772@sss.pgh.pa.us> <CAM-w4HOuJPZKN4cgSq8d=8t078X3epXUy1jTTnSDp3vUyv9MJg@mail.gmail.com> <20895.1455376574@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