Re: Reorderbuffer crash during recovery
vignesh C <vignesh21@gmail.com>
From: vignesh C <vignesh21@gmail.com>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Dilip Kumar <dilipbalaut@gmail.com>,
Amit Kapila <amit.kapila16@gmail.com>, Andres Freund <andres@anarazel.de>,
Tomas Vondra <tomas.vondra@2ndquadrant.com>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>, PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Date: 2020-01-20T00:36:39Z
Lists: pgsql-bugs, pgsql-hackers
On Sat, Jan 18, 2020 at 2:42 AM Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > > On 2020-Jan-17, vignesh C wrote: > > > Thanks Dilip for reviewing. > > I have fixed the comments you have suggested. > > I ended up rewording that comment completely; I thought the original was > not explaining things well enough. > > I also changed the comment for final_lsn in reorderbuffer.h: not only I > remove the line that I added in df9f682c7bf8 (the previous bugfix), but > I also remove the line that says "error during decoding", which came in > with the very first logical decoding commit (b89e151054a); I couldn't > find any evidence that final_lsn is being set on errors of any kind > (other than transaction abort, which doesn't seem an "error" in that > sense.) > > Please give these comments a read; maybe I have misunderstood something > and my comment is wrong. > > Pushed now to all branches. Thanks, Vignesh, Amit and Dilip. > Thanks Alvaro for pushing this patch. Regards, Vignesh EnterpriseDB: http://www.enterprisedb.com
Commits
-
Set ReorderBufferTXN->final_lsn more eagerly
- fe955ebee0f2 11.7 landed
- e3154aae3c26 10.12 landed
- cdb14154bb00 9.6.17 landed
- bc2140627ff1 12.2 landed
- 58997ace5b37 9.5.21 landed
- 20a1dc1e311d 9.4.26 landed
- 15cac3a523cc 13.0 landed
-
Fix failure to delete spill files of aborted transactions
- df9f682c7bf8 11.0 cited