Re: Assertion failure in syncrep.c

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Assertion failure in syncrep.c
Дата
Msg-id CA+U5nMLNTNyRoTWrg4-iVZV3x3RjbO6eZvgLVNYxuROqhBpKGg@mail.gmail.com
обсуждение исходный текст
Ответ на Assertion failure in syncrep.c  (Pavan Deolasee <pavan.deolasee@gmail.com>)
Список pgsql-hackers
On 18 September 2014 07:32, Pavan Deolasee <pavan.deolasee@gmail.com> wrote:

> 564         /*
> 565          * Set state to complete; see SyncRepWaitForLSN() for discussion
> of
> 566          * the various states.
> 567          */
> 568         thisproc->syncRepState = SYNC_REP_WAIT_COMPLETE;
> 569
> 570         /*
> 571          * Remove thisproc from queue.
> 572          */
> 573         SHMQueueDelete(&(thisproc->syncRepLinks));

Yes, looks like a bugette to me also.

Unlikely to occur except when no network involved, and even more
luckily no effect at all when Assert is not enabled. So not a priority
fix.

But fix looks trivial, just to switch around the two statements above.

I'll backpatch tomorrow.

Thanks

-- Simon Riggs                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: INSERT ... ON CONFLICT {UPDATE | IGNORE}
Следующее
От: Claudio Freire
Дата:
Сообщение: Re: DDL Damage Assessment