Some doubts about streaming startpoint in WaitForWALToBecomeAvailable() - Mailing list pgsql-hackers

From 蔡梦娟(玊于)
Subject Some doubts about streaming startpoint in WaitForWALToBecomeAvailable()
Date
Msg-id 6a1929df-e4ab-45bd-8fed-1fb09b2f77ef.mengjuan.cmj@alibaba-inc.com
Whole thread Raw
List pgsql-hackers

Hi, all
I have some doubts about the request xlog streaming startpoint in WaitForWALToBecomeAvailable(). In this function, RecPtr is the endpoint lsn we are waiting for, tliRecPtr is the position of the WAL record we are interested in, I want to know why use RecPtr rather than tliRecPtr as the startpoint when call RequestXLogStreaming, although the start position will be set as the beginning of the corresponding segment in RequestXLogStreaming.

Thanks & Best Regard

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Reset snapshot export state on the transaction abort
Next
From: Sadhuprasad Patro
Date:
Subject: Fwd: [Bug] Logical Replication failing if the DateStyle is different in Publisher & Subscriber