Re: 2pc leaks fds
Antonin Houska <ah@cybertec.at>
From: Antonin Houska <ah@cybertec.at>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>, andres@anarazel.de,
michael@paquier.xyz, pgsql-hackers@postgresql.org
Date: 2020-05-11T08:44:14Z
Lists: pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> wrote: > On 2020-May-08, Kyotaro Horiguchi wrote: > > > I agree to the direction of this patch. Thanks for the explanation. > > The patch looks good to me except the two points below. > > Thanks! I pushed the patch. I tried to follow the discussion but haven't had better idea. This looks better than the previous version. Thanks! While looking at the changes, I've noticed a small comment issue in the XLogReaderRoutine structure definition: * "tli_p" is an input/output argument. XLogRead() uses it to pass the The XLogRead() function has been renamed to WALRead() in 0dc8ead4. (This incorrect comment was actually introduced by that commit.) -- Antonin Houska Web: https://www.cybertec-postgresql.com
Commits
-
Fix obsolete references to "XLogRead"
- a8be5364ac16 13.0 landed
-
Rework XLogReader callback system
- b060dbe0001a 13.0 landed
-
Fix XLogReader FD leak that makes backends unusable after 2PC usage.
- 91c40548d5f7 13.0 landed
-
Refactor WAL file-reading code into WALRead()
- 0dc8ead46363 13.0 cited
-
Add ArchiveOpts to pass options to ArchiveEntry
- f831d4accda0 12.0 cited