From: | Dilip Kumar <dilipbalaut(at)gmail(dot)com> |
---|---|
To: | Mahendra Singh Thalor <mahi6run(at)gmail(dot)com> |
Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Asim R P <apraveen(at)pivotal(dot)io>, Postgres hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Konstantin Knizhnik <knizhnik(at)garret(dot)ru>, Hao Wu <hawu(at)pivotal(dot)io> |
Subject: | Re: Replication & recovery_min_apply_delay |
Date: | 2021-11-09 09:59:01 |
Message-ID: | CAFiTN-t=cSbS527TpunqfhHo+nbAQGTr9gFTBSUw2x5DsEjemg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Wed, Oct 27, 2021 at 1:01 AM Mahendra Singh Thalor
<mahi6run(at)gmail(dot)com> wrote:
>
>
> On Mon, 3 Aug 2020 at 15:02, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>>
>> This thread has stalled and the patch no longer applies, so I'm marking this
>> Returned with Feedback. Please feel free to open a new entry if this patch is
>> revived.
>>
>> cheers ./daniel
>>
>
> Hi all,
> I took v3[1] patch from this thread and re-based on commit head(5fedf7417b69295294b154a21).
>
> Please find the attached patch for review.
>
I have done an initial review of the patch, I have a few comments, I
will do a more detailed review later this week.
1.
Commit message says that two options are 'consistency' and 'replay'
whereas inside the patch those options are 'consistency' and
'catchup', Please change the commit message so that it matches with
what the code is actually doing.
2.
+static int
+XLogReadFirstPage(XLogRecPtr targetPagePtr, char *readBuf)
Add comments about what this function is doing.
3.
Please run pg_indend on your code and fix all coding guideline violations
4.
XLogReadFirstPage(). function is returning the size, but actually it
either returns -1 or returns XLOG_BLCKSZ. So logically this function
should just be returning boolean, true if it is able to read the first
page, or false otherwise.
--
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Kapila | 2021-11-09 10:03:50 | Re: Skipping logical replication transactions on subscriber side |
Previous Message | Amit Kapila | 2021-11-09 09:21:12 | Re: Added schema level support for publication. |