Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1

From: Andres Freund <andres(at)anarazel(dot)de>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Noah Misch <noah(at)leadboat(dot)com>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Steve Kehlet <steve(dot)kehlet(at)gmail(dot)com>, Forums postgresql <pgsql-general(at)postgresql(dot)org>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1
Date: 2015-06-08 17:11:01
Message-ID: 53F413D8-2BF5-4C9C-90B0-F114A19DF372@anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On June 8, 2015 7:06:31 PM GMT+02:00, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> wrote:
>Andres Freund wrote:
>
>> A first version to address this problem can be found appended to this
>> email.
>>
>> Basically it does:
>> * Whenever more than MULTIXACT_MEMBER_SAFE_THRESHOLD are used, signal
>> autovacuum once per members segment
>> * For both members and offsets, once hitting the hard limits, signal
>> autovacuum everytime. Otherwise we loose the information when
>> restarting the database, or when autovac is killed. I ran into this
>a
>> bunch of times while testing.
>
>I might be misreading the code, but PMSIGNAL_START_AUTOVAC_LAUNCHER
>only
>causes things to happen (i.e. a new worker to be started) when
>autovacuum is disabled. If autovacuum is enabled, postmaster receives
>the signal and doesn't do anything about it, because the launcher is
>already running. Of course, regularly scheduled autovac workers will
>eventually start running, but perhaps this is not good enough.

Well that's just the same for the plain xid precedent? I'd not mind improving further, but that seems like a separate thing.

Andres

---
Please excuse brevity and formatting - I am writing this on my mobile phone.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Dave Johansen 2015-06-08 17:15:53 Inserting from multiple processes?
Previous Message Alvaro Herrera 2015-06-08 17:06:31 Re: [GENERAL] 9.4.1 -> 9.4.2 problem: could not access status of transaction 1

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2015-06-08 17:16:00 Re: [CORE] back-branch multixact fixes & 9.5 alpha/beta: schedule
Previous Message Bruce Momjian 2015-06-08 17:08:36 Re: [CORE] back-branch multixact fixes & 9.5 alpha/beta: schedule