Re: Suggestion to add --continue-client-on-abort option to pgbench

Поиск
Список
Период
Сортировка
От Yugo Nagata
Тема Re: Suggestion to add --continue-client-on-abort option to pgbench
Дата
Msg-id 20251112164703.3bb280a5a8012e99888eb3da@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Suggestion to add --continue-client-on-abort option to pgbench  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Wed, 12 Nov 2025 00:22:38 +0900
Fujii Masao <masao.fujii@gmail.com> wrote:

> On Tue, Nov 11, 2025 at 11:41 AM Chao Li <li.evan.chao@gmail.com> wrote:
> > I am also debugging the patch for the other purpose when I saw your email, so I tried to reproduce the problem with
yourscript.
 
> >
> > 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 <nagata@sraoss.co.jp>



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