Re: BUG #19082: Failing assert in index scan

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: BUG #19082: Failing assert in index scan
Дата
Msg-id CAH2-WzmbZevxTOZdtqz2JL7THZGVCG0uEfv5-J-p2ZrpJOe8xA@mail.gmail.com
обсуждение исходный текст
Ответ на BUG #19082: Failing assert in index scan  (PG Bug reporting form <noreply@postgresql.org>)
Ответы Re: BUG #19082: Failing assert in index scan
Список pgsql-bugs
On Fri, Oct 10, 2025 at 5:51 AM PG Bug reporting form
<noreply@postgresql.org> wrote:
> Last week, I've noticed a crash due to a failed assertion that was
> consistently being triggered by an application every 10 seconds. Here's the
> log:
>
> ---
> TRAP: failed Assert("!XLogRecPtrIsInvalid(so->currPos.lsn)"), File:
> "./build/../src/backend/access/nbtree/nbtutils.c", Line: 1782, PID: 394782
> postgres: mastodon mastodon_production [local]

Does this involve an unlogged table/index?

> Since I noticed that the stack trace mentioned btrees, I reindexed all
> indexes in this database and that appeared to resolve the symptom.

That would be effective in the short term, though only because it'll
reduce the number of dead tuples that can be LP_DEAD set in the index
in the short term.

--
Peter Geoghegan



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