On Tue, Sep 17, 2019 at 3:09 AM Kuntal Ghosh <kuntalghosh.2...@gmail.com> wrote: > On Mon, Sep 16, 2019 at 11:23 AM Thomas Munro <thomas.mu...@gmail.com> wrote: > > Agreed. I added a line to break out of that loop if !block->in_use. > > > I think we should skip the block if !block->in_use. Because, the undo > buffer can be registered in a subsequent block as well. For different > operations, we can use different block_id to register the undo buffer > in the redo record.
Oops, right. So it should just be added to the if condition. Will do. -- Thomas Munro https://enterprisedb.com