patch: Add missing descriptions for rmgr APIs

Started by Hayato Kuroda (Fujitsu)about 4 years ago4 messageshackers
Jump to latest
#1Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com

Hi hackers,

While reading codes related with logical decoding,
I thought that following comment in rmgrlist.h is not consistent.

/* symbol name, textual name, redo, desc, identify, startup, cleanup */

This comment describes a set of APIs that the resource manager should have, but functions for {mask, decode} are missed here.

Did we have any reasons for that? I thought it might be not friendly, so I attached a patch.

Best Regards,
Hayato Kuroda
FUJITSU LIMITED

Attachments:

0001-add-a-missing-comment.patchapplication/octet-stream; name=0001-add-a-missing-comment.patchDownload+1-2
#2Amit Kapila
amit.kapila16@gmail.com
In reply to: Hayato Kuroda (Fujitsu) (#1)
Re: patch: Add missing descriptions for rmgr APIs

On Mon, Aug 29, 2022 at 8:48 AM kuroda.hayato@fujitsu.com
<kuroda.hayato@fujitsu.com> wrote:

Hi hackers,

While reading codes related with logical decoding,
I thought that following comment in rmgrlist.h is not consistent.

/* symbol name, textual name, redo, desc, identify, startup, cleanup */

This comment describes a set of APIs that the resource manager should have, but functions for {mask, decode} are missed here.

Your observation seems correct to me but you have not updated the
comment for the mask. Is there a reason for the same?

--
With Regards,
Amit Kapila.

#3Hayato Kuroda (Fujitsu)
kuroda.hayato@fujitsu.com
In reply to: Amit Kapila (#2)
RE: patch: Add missing descriptions for rmgr APIs

Your observation seems correct to me but you have not updated the
comment for the mask. Is there a reason for the same?

Oh, it seems that I attached wrong one. There is no reason.
PSA the newer version.

Best Regards,
Hayato Kuroda
FUJITSU LIMITED

Attachments:

v2-0001-add-a-missing-comment.patchapplication/octet-stream; name=v2-0001-add-a-missing-comment.patchDownload+1-2
#4Amit Kapila
amit.kapila16@gmail.com
In reply to: Hayato Kuroda (Fujitsu) (#3)
Re: patch: Add missing descriptions for rmgr APIs

On Mon, Aug 29, 2022 at 6:19 PM kuroda.hayato@fujitsu.com
<kuroda.hayato@fujitsu.com> wrote:

Your observation seems correct to me but you have not updated the
comment for the mask. Is there a reason for the same?

Oh, it seems that I attached wrong one. There is no reason.
PSA the newer version.

LGTM. Pushed.

--
With Regards,
Amit Kapila.