Re: Allow streaming the changes after speculative aborts.
Dilip Kumar <dilipbalaut@gmail.com>
From: Dilip Kumar <dilipbalaut@gmail.com>
To: Amit Kapila <amit.kapila16@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-06-29T07:27:06Z
Lists: pgsql-hackers
On Fri, Jun 25, 2021 at 12:24 PM Amit Kapila <amit.kapila16@gmail.com> wrote: > > Till now, we didn't allow to stream the changes in logical replication > till we receive speculative confirm or the next DML change record > after speculative inserts. The reason was that we never use to process > speculative aborts but after commit 4daa140a2f it is possible to > process them so we can allow streaming once we receive speculative > abort after speculative insertion. See attached. > > I think this is a minor improvement in the logical replication of > in-progress transactions. I have verified this for speculative aborts > and it allows streaming once we receive the spec_abort change record. Yeah, this improvement makes sense. And the patch looks fine to me. -- Regards, Dilip Kumar EnterpriseDB: http://www.enterprisedb.com
Commits
-
Allow streaming the changes after speculative aborts.
- dfceed30abc1 14.0 landed
- 52d26d560e27 15.0 landed
-
Fix decoding of speculative aborts.
- 4daa140a2f50 14.0 cited