XLogCtl->ckptFullXid is unused

Started by Nathan Bossartover 1 year ago3 messageshackers
Jump to latest
#1Nathan Bossart
nathandbossart@gmail.com

I just noticed $SUBJECT. This seems to be an oversight in commit 2fc7af5,
which simultaneously combined ckptXidEpoch and ckptXid into ckptFullXid and
removed the only use of that information, i.e., GetNextXidAndEpoch(). Any
objections if I remove it now?

--
nathan

Attachments:

v1-0001-Remove-XLogCtl-ckptFullXid.patchtext/plain; charset=us-asciiDownload+0-18
#2Aleksander Alekseev
aleksander@tigerdata.com
In reply to: Nathan Bossart (#1)
Re: XLogCtl->ckptFullXid is unused

Hi Nathan,

I just noticed $SUBJECT. This seems to be an oversight in commit 2fc7af5,
which simultaneously combined ckptXidEpoch and ckptXid into ckptFullXid

and

removed the only use of that information, i.e., GetNextXidAndEpoch(). Any
objections if I remove it now?

Good catch. I don't see any reason why we might want to keep ckptFullXid.
Also I checked if there are any references left to this field - there are
none.

#3Nathan Bossart
nathandbossart@gmail.com
In reply to: Aleksander Alekseev (#2)
Re: XLogCtl->ckptFullXid is unused

On Sat, Jul 12, 2025 at 12:32:31AM +0300, Aleksander Alekseev wrote:

Good catch. I don't see any reason why we might want to keep ckptFullXid.
Also I checked if there are any references left to this field - there are
none.

Thanks, committed.

--
nathan