Re: Control flow in logical replication walsender

From: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
To: Christophe Pettus <xof(at)thebuild(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Control flow in logical replication walsender
Date: 2024-05-07 04:20:41
Message-ID: CAExHW5tQJk0sVAsZpFw11qvbHhO7GgQ2oz0Zrx-MM0SfuPooVg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 7, 2024 at 12:00 AM Christophe Pettus <xof(at)thebuild(dot)com> wrote:

> Thank you for the reply!
>
> > On May 1, 2024, at 02:18, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>
> wrote:
> > Is there a large transaction which is failing to be replicated
> repeatedly - timeouts, crashes on upstream or downstream?
>
> AFAIK, no, although I am doing this somewhat by remote control (I don't
> have direct access to the failing system). This did bring up one other
> question, though:
>
> Are subtransactions written to their own individual reorder buffers (and
> thus potentially spill files), or are they appended to the topmost
> transaction's reorder buffer?

IIRC, they have their own RB, but once they commit, they are transferred to
topmost transaction's RB. So they can spill files.

--
Best Wishes,
Ashutosh Bapat

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jingxian Li 2024-05-07 04:46:27 Re: [PATCH] Fix bug when calling strncmp in check_authmethod_valid
Previous Message Tom Lane 2024-05-07 04:16:56 Re: 2024-05-09 release announcement draft