Fix comments atop ReorderBufferAddInvalidations

Started by Amit Kapilaabout 4 years ago3 messageshackers
Jump to latest
#1Amit Kapila
amit.kapila16@gmail.com

The comments atop seem to indicate that we always accumulate
invalidation messages in top-level transactions which is neither
required nor match with the code. This is introduced in the commit
c55040ccd0 and I have observed it while working on a fix for commit
16b1fe0037.

--
With Regards,
Amit Kapila.

Attachments:

fix_comments_rb_invalidations_1.patchapplication/octet-stream; name=fix_comments_rb_invalidations_1.patchDownload+12-10
#2Masahiko Sawada
sawada.mshk@gmail.com
In reply to: Amit Kapila (#1)
Re: Fix comments atop ReorderBufferAddInvalidations

Hi

On Thu, Nov 3, 2022 at 7:53 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

The comments atop seem to indicate that we always accumulate
invalidation messages in top-level transactions which is neither
required nor match with the code. This is introduced in the commit
c55040ccd0 and I have observed it while working on a fix for commit
16b1fe0037.

Thank you for the patch. It looks good to me.

I think we can backpatch it to avoid confusion in future.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

#3Amit Kapila
amit.kapila16@gmail.com
In reply to: Masahiko Sawada (#2)
Re: Fix comments atop ReorderBufferAddInvalidations

On Fri, Nov 4, 2022 at 11:14 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:

On Thu, Nov 3, 2022 at 7:53 PM Amit Kapila <amit.kapila16@gmail.com> wrote:

The comments atop seem to indicate that we always accumulate
invalidation messages in top-level transactions which is neither
required nor match with the code. This is introduced in the commit
c55040ccd0 and I have observed it while working on a fix for commit
16b1fe0037.

Thank you for the patch. It looks good to me.

I think we can backpatch it to avoid confusion in future.

Pushed.

--
With Regards,
Amit Kapila.