Remove an obsolete comment in snapbuild.c

Started by Masahiko Sawadaabout 5 years ago2 messageshackers
Jump to latest
#1Masahiko Sawada
sawada.mshk@gmail.com

Hi all,

While reading the code I realized that the following comment of
SnapBuildOnDick is obsolete:

/*
* We store current state of struct SnapBuild on disk in the following manner:
*
* struct SnapBuildOnDisk;
* TransactionId * running.xcnt_space;
* TransactionId * committed.xcnt; (*not xcnt_space*)
*
*/
typedef struct SnapBuildOnDisk

Since SnapBuild has no longer "running" struct, it should be removed.
Please find an attached patch.

Regards,

--
Masahiko Sawada
EDB: https://www.enterprisedb.com/

Attachments:

fix_obsolete_comment_in_snapbuild.c.patchapplication/octet-stream; name=fix_obsolete_comment_in_snapbuild.c.patchDownload+0-1
#2Amit Kapila
amit.kapila16@gmail.com
In reply to: Masahiko Sawada (#1)
Re: Remove an obsolete comment in snapbuild.c

On Mon, Oct 4, 2021 at 1:24 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:

Hi all,

While reading the code I realized that the following comment of
SnapBuildOnDick is obsolete:

/*
* We store current state of struct SnapBuild on disk in the following manner:
*
* struct SnapBuildOnDisk;
* TransactionId * running.xcnt_space;
* TransactionId * committed.xcnt; (*not xcnt_space*)
*
*/
typedef struct SnapBuildOnDisk

Since SnapBuild has no longer "running" struct, it should be removed.
Please find an attached patch.

LGTM. I'll push this tomorrow unless someone thinks otherwise.

--
With Regards,
Amit Kapila.