Re: First-draft release notes for next week's releases

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: First-draft release notes for next week's releases
Дата
Msg-id 17038.1395070125@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: First-draft release notes for next week's releases  (Greg Stark <stark@mit.edu>)
Ответы Re: First-draft release notes for next week's releases  (Andres Freund <andres@2ndquadrant.com>)
Re: First-draft release notes for next week's releases  (Greg Stark <stark@mit.edu>)
Список pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> This is not really accurate:
> "This error allowed multiple versions of the same row to become
> visible to queries, resulting in apparent duplicates. Since the error
> is in WAL replay, it would only manifest during crash recovery or on
> standby servers."

> I think the idea is coming from what the second sentence below is
> getting at but it may be too complex to explain in a release note:

> The error causes some rows to disappear from indexes resulting in
> inconsistent query results on a hot standby depending on whether
> indexes are used. If the standby is subsequently activated or if it
> occurs during recovery after a crash or backup restore it could result
> in unique constraint violations as well.

Hm ... "rows disappearing from indexes" might make people think that
they could fix or mitigate the damage via REINDEX.  That's not really
true though is it?  It looks to me like IndexBuildHeapScan will suffer
an Assert failure in an assert-enabled build, or build a bogus index
if not assert-enabled, when it comes across a "heap-only" tuple that
has no parent.

I'm thinking we'd better promote that Assert to a normal runtime elog.
        regards, tom lane



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: HEAD seems to generate larger WAL regarding GIN index
Следующее
От: Tom Lane
Дата:
Сообщение: Re: on_exit_reset fails to clear DSM-related exit actions