Hi everyone!
I didn't noticed this thread for too long somehow, sorry. 8 нояб. 2018 г., в 6:46, Peter Geoghegan <p...@bowt.ie> написал(а): ginVacuumPostingTreeLeaves() holds LockBufferForCleanup() on subtree root b. Thus there may be no GinBtreeStack's holding pin on b at the moment. When you ginStepRight(b) to the parent in ginFinishSplit(), you always get to the buffer from your stack. Hence you can never have ginFinishSplit() deadlock with cleanup of subtree whose root is LockBufferForCleanup()'d. Is this correct or did I miss something? But we have a deadlock at hand, I'll think more about it. Something with locking protocol is clearly wrong. 11 нояб. 2018 г., в 22:33, chenhj <chjis...@163.com> написал(а): This looks correct to me. Best regards, Andrey Borodin. |
- Re: Connections hang indefinitely... Alexander Korotkov
- Re: Connections hang indefinitely... Bruce Momjian
- Re: Connections hang indefinitely... Tom Lane
- Re: Connections hang indefinitely... Andrey Borodin
- Re: Connections hang indefinitely... Alexander Korotkov
- Re: Connections hang indefinitely... Andres Freund
- Re: Connections hang indefinitely... Alexander Korotkov
- Re: Connections hang indefinitely... Alexander Korotkov
- Re: Connections hang indefinitely... Alexander Korotkov
- Re:Connections hang indefinitely ... chjis...@163.com
- Re: Connections hang indefinitely while taking a gin in... Andrey Borodin
- Re: Connections hang indefinitely while taking a g... Andrey Borodin
- Re: Connections hang indefinitely while taking... Andrey Borodin
- Re: Connections hang indefinitely while ta... Peter Geoghegan