Re: Failure in contrib test _int on loach
От | Teodor Sigaev |
---|---|
Тема | Re: Failure in contrib test _int on loach |
Дата | |
Msg-id | 7b4164ca-890e-2d78-1c1c-9b7c1783c020@sigaev.ru обсуждение исходный текст |
Ответ на | Re: Failure in contrib test _int on loach (Anastasia Lubennikova <a.lubennikova@postgrespro.ru>) |
Список | pgsql-hackers |
Hi! > So, if other hackers are agreed with my reasoning, the suggested fix is > sufficient and can be committed. > Patch looks right, but I think that comment should be improved in follow piece: if (stack->blkno != GIST_ROOT_BLKNO && - stack->parent->lsn < GistPageGetNSN(stack->page)) + ((stack->parent->lsn < GistPageGetNSN(stack->page)) || + stack->retry_from_parent == true)) { /* * Concurrent split detected. There's no guarantee that the .... Not only concurrent split could be deteced here and it was missed long ago. But this patch seems a good chance to change this comment. -- Teodor Sigaev E-mail: teodor@sigaev.ru WWW: http://www.sigaev.ru/
В списке pgsql-hackers по дате отправления: