Re: LWLock deadlock and gdb advice

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, Peter Geoghegan <pg(at)heroku(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: LWLock deadlock and gdb advice
Date: 2015-08-05 18:22:55
Message-ID: CAMkU=1xmdBjnZYn4QNiedh=3yqi6LS32tzRFKNKhMUxOw9vZYg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 2, 2015 at 8:05 AM, Andres Freund <andres(at)anarazel(dot)de> wrote:

> On 2015-08-02 17:04:07 +0200, Andres Freund wrote:
> > I've attached a version of the patch that should address Heikki's
> > concern. It imo also improves the API and increases debuggability by not
> > having stale variable values in the variables anymore. (also attached is
> > a minor optimization that Heikki has noticed)
>
>
I've run these (from your git commit) for over 60 hours with no problem, so
I think it's solved.

If there are still problems, hopefully they will come out in other tests.
I don't know why the gin test was efficient at provoking the problem while
none of the other ones (btree-upsert, gist, brin, btree-foreign key,
btree-prepare transaction) I've played around with. Perhaps it is just due
to the amount of WAL which gin generates.

Cheers,

Jeff

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-08-05 18:33:15 Re: RFC: replace pg_stat_activity.waiting with something more descriptive
Previous Message Vignesh Raghunathan 2015-08-05 18:09:55 Caching offsets of varlena attributes