Re: RFC: Add 'taint' field to pg_control.

Поиск
Список
Период
Сортировка
От Tomas Vondra
Тема Re: RFC: Add 'taint' field to pg_control.
Дата
Msg-id 2bbf1021-f4e0-1fd6-5a79-83c4394e96cd@2ndquadrant.com
обсуждение исходный текст
Ответ на RFC: Add 'taint' field to pg_control.  (Andres Freund <andres@anarazel.de>)
Ответы Re: RFC: Add 'taint' field to pg_control.  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 02/28/2018 10:43 PM, Andres Freund wrote:
> Hi,
> 
> a significant number of times during investigations of bugs I wondered
> whether running the cluster with various settings, or various tools
> could've caused the issue at hand.  Therefore I'd like to propose adding
> a 'tainted' field to pg_control, that contains some of the "history" of
> the cluster. Individual bits inside that field that I can think of right
> now are:
> - pg_resetxlog was used non-passively on cluster
> - ran with fsync=off
> - ran with full_page_writes=off
> - pg_upgrade was used
> 
> What do others think?
> 

Isn't the uncertainty usually that you know one of these things happened
on the cluster, but you don't know if that's the actual root cause?
That's my experience, at least.

That being said, I'm not strongly opposed to adding such field.


regards

-- 
Tomas Vondra                  http://www.2ndQuadrant.com
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Two small patches for the isolationtester lexer
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: RFC: Add 'taint' field to pg_control.