Re: logical decoding : exceeded maxAllocatedDescs for .spill files
Amit Kapila <amit.kapila16@gmail.com>
From: Amit Kapila <amit.kapila16@gmail.com>
To: Noah Misch <noah@leadboat.com>
Cc: Amit Khandekar <amitdkhan.pg@gmail.com>, Alvaro Herrera from 2ndQuadrant <alvherre@alvh.no-ip.org>, Andres Freund <andres@anarazel.de>, Juan José Santamaría Flecha <juanjo.santamaria@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>, Robert Haas <robertmhaas@gmail.com>, Thomas Munro <thomas.munro@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Tomas Vondra <tomas.vondra@2ndquadrant.com>
Date: 2020-01-05T04:59:52Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
When a TAP file has non-zero exit status, retain temporary directories.
- 048c7ccd7d6d 9.6.17 landed
- d8efc5900f7c 10.12 landed
- 887657d183fc 11.7 landed
- 78a26c3edd85 12.2 landed
- bf989aaf3561 13.0 landed
-
Fix running out of file descriptors for spill files.
- 1ad47e8757bb 9.4.26 landed
- a6f4f407ada0 9.5.21 landed
- 27b5f48c79f7 10.12 landed
- 3e3a79735235 11.7 landed
- f8a6d8e71b17 12.2 landed
- d20703805383 13.0 landed
- ba5b4e506489 9.6.17 landed
-
Track statistics for spilling of changes from ReorderBuffer.
- 9290ad198b15 13.0 cited
-
Handle ReadFile() EOF correctly on Windows.
- 2189f49c420f 12.2 landed
- 6969deeb8d39 13.0 landed
-
Add logical_decoding_work_mem to limit ReorderBuffer memory usage.
- cec2edfa7859 13.0 cited
-
Generational memory allocator
- a4ccc1cef5a0 11.0 cited
-
Support retaining data dirs on successful TAP tests
- 90627cf98a8e 11.0 cited
On Sun, Jan 5, 2020 at 12:21 AM Noah Misch <noah@leadboat.com> wrote: > > On Fri, Jan 03, 2020 at 02:20:09PM +0530, Amit Khandekar wrote: > > On Fri, 3 Jan 2020 at 10:19, Amit Kapila <amit.kapila16@gmail.com> wrote: > > > On Fri, Jan 3, 2020 at 8:29 AM Amit Kapila <amit.kapila16@gmail.com> wrote: > > >> I see one failure in REL_10_STABLE [1] which seems to be due to this commit: > > > > > > I tried this test on my CentOs and Power8 machine more than 50 times, but couldn't reproduce it. So, adding Noah to see if he can try this test [1] on his machine (tern) and get stack track or some other information? > > > > > > [1] - make -C src/test/recovery/ check PROVE_TESTS=t/006_logical_decoding.pl > > > > I also tested multiple times using PG 10 branch; also tried to inject > > an error so that PG_CATCH related code also gets covered, but > > unfortunately didn't get the crash on my machine. I guess, we will > > have to somehow get the stacktrace. > > I have buildfarm member tern running this test in a loop. In the 290 > iterations so far, it hasn't failed. I've leave it running for another week > or so. > Okay, thanks! FYI, your other machine 'mandril' also exhibits the exact same behavior and on v10. Both the machines (tern and mandril) seem to have the same specs which seems to be the reason that they are failing in the same way. The thing that bothers me is that the fix and test are the same for v11 and test passes for v11 on both machines. Does this indicate any random behavior or maybe some other bug in v10 which is discovered by this test? -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com