Re: Berserk Autovacuum (let's save next Mandrill)
| От | Tom Lane |
|---|---|
| Тема | Re: Berserk Autovacuum (let's save next Mandrill) |
| Дата | |
| Msg-id | 490.1585687710@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Berserk Autovacuum (let's save next Mandrill) (Dean Rasheed <dean.a.rasheed@gmail.com>) |
| Ответы |
Re: Berserk Autovacuum (let's save next Mandrill)
|
| Список | pgsql-hackers |
Dean Rasheed <dean.a.rasheed@gmail.com> writes:
> I had a go at reproducing this. I wasn't able to produce the reported
> failure, but I can reliably produce an Assert failure that may be
> related by doing a VACUUM FULL simultaneously with an ANALYZE that is
> generating extended stats, which produces:
> ...
> It looks to me as though the problem is that statext_store() needs to
> take its lock on pg_statistic_ext_data *before* searching for the
> stats tuple to update.
Hmm, yeah, that seems like clearly a bad idea.
> It's late here, so I haven't worked up a patch yet, but it looks
> pretty straightforward.
I can take care of it.
regards, tom lane
В списке pgsql-hackers по дате отправления: