Re: Deadlock condition in current sources

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Deadlock condition in current sources
Дата
Msg-id 17571.1008702343@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Deadlock condition in current sources  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Список pgsql-hackers
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM> writes:
> Checkpoint' undo is not used currently so just comment out GetUndoRecPtr
> call in CreateCheckPoint - we'll find solution later.

I thought about that, but figured you'd object ;-)

One possibility is to do something you had recommended awhile back for
other reasons: add a spinlock to each PROC structure and use the
spinlock, rather than SInvalLock, to protect setting and reading of
xmin, logRec, and related fields.  I haven't finished working out all
the details, though, and this seems like a rather large change to make
at this late stage of beta.  Comments?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Brian Hirt"
Дата:
Сообщение: Re: problems with table corruption continued
Следующее
От: "Mikheev, Vadim"
Дата:
Сообщение: Re: Deadlock condition in current sources