回复: BUG #17695: Failed Assert in logical replication snapbuild.
zxwsbg <zxwsbg@qq.com>
From: 施博文 <zxwsbg@qq.com>
To: vignesh C <vignesh21@gmail.com>
Cc: pgsql-bugs <pgsql-bugs@lists.postgresql.org>
Date: 2022-11-24T13:09:56Z
Lists: pgsql-bugs
My test branch is REL_14_STABLE in head, and the commit number is c93254424f288557eeef13343be8f72536cb9ffe I think the problem still exists since SnapRestore function source code has not changed. This problem is hard to reproduce, may be you can try more times. ------------------ 原始邮件 ------------------ 发件人: "vignesh C" <vignesh21@gmail.com>; 发送时间: 2022年11月24日(星期四) 晚上9:09 收件人: "施博文"<zxwsbg@qq.com>; 抄送: "pgsql-bugs"<pgsql-bugs@lists.postgresql.org>; 主题: Re: BUG #17695: Failed Assert in logical replication snapbuild. On Thu, 24 Nov 2022 at 15:58, 施博文 <zxwsbg@qq.com> wrote: > > I write this perl test case to reproduce problem, it needs both superuser and database name 'postgres'. > > Also, I write the patch to fix that problem. Thanks for sharing the script. I was able to reproduce the problem in PG 14.6 with your scripts. I was not able to reproduce the problem in HEAD after making the required changes in the script for HEAD. I was not sure if this issue is only in 14.6 or if the issue is present in HEAD too. Since the Assert is there and code changes suggested by you is not in HEAD, I thought this issue might be present in HEAD too. Does it work for you on HEAD? Regards, Vignesh
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix assertion failure in snapshot building
- 0f404c581247 15.13 landed
- 7be51eb4e169 14.18 landed
- eb27d3dc8887 16.0 landed
- 48efb2302bea 17.0 landed
-
Fix perl warning from commit 9b4eafcaf4
- c93254424f28 14.7 cited