On Wed, 12 Nov 2025 00:22:38 +0900 Fujii Masao <[email protected]> wrote:
> On Tue, Nov 11, 2025 at 11:41 AM Chao Li <[email protected]> wrote: > > I am also debugging the patch for the other purpose when I saw your email, > > so I tried to reproduce the problem with your script. > > > > I think in master branch, we can simply fix the problem by calling > > discardAvailableResults(st) before discardUntilSync(st), like this: > > This change doesn't seem to fix the issue. If the custom script includes > many \syncpipeline commands, the assertion failure can still occur. No? Yes. discardAvailableResults() does not discard all syncs, just until NULL following the first sync, in pipeline mode without a connection failure. Regards, Yugo Nagata -- Yugo Nagata <[email protected]>
