Re: Asynchronous Append on postgres_fdw nodes.
Etsuro Fujita <etsuro.fujita@gmail.com>
From: Etsuro Fujita <etsuro.fujita@gmail.com>
To: "movead.li@highgo.ca" <movead.li@highgo.ca>
Cc: Horiguchi <horikyota.ntt@gmail.com>, Justin Pryzby <pryzby@telsasoft.com>, "Andrey V. Lepikhov" <a.lepikhov@postgrespro.ru>,
Ahsan Hadi <ahsan.hadi@gmail.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-01-02T08:15:59Z
Lists: pgsql-hackers
On Sun, Dec 20, 2020 at 5:15 PM Etsuro Fujita <etsuro.fujita@gmail.com> wrote: > On Thu, Nov 26, 2020 at 10:28 AM movead.li@highgo.ca > <movead.li@highgo.ca> wrote: > > Issue one: > > Get a Assert error at 'Assert(bms_is_member(i, node->as_needrequest));' in > > ExecAppendAsyncRequest() function when I use more than two foreign table > > on different foreign server. > > > > I research the code and do such change then the Assert problom disappear. > > Could you show a test case causing the assertion failure? I happened to reproduce the same failure in my environment. I think your change would be correct, but I changed the patch so that it doesn’t need as_lastasyncplan anymore [1]. The new version of the patch works well for my case. So, could you test your case with it? Best regards, Etsuro Fujita [1] https://www.postgresql.org/message-id/CAPmGK17L0j6otssa53ZvjnCsjguJHZXaqPL2HU_LDoZ4ATZjEw%40mail.gmail.com
Commits
-
Improve comments for trivial_subqueryscan().
- 4a8a5dd7f59c 15.0 landed
-
Disable asynchronous execution if using gating Result nodes.
- ebb790241523 14.3 landed
- 5c854e7a2c8a 15.0 landed
-
Allow asynchronous execution in more cases.
- c2bb02bc2e85 15.0 landed
-
Doc: Further update documentation for asynchronous execution.
- eab81953682d 14.0 landed
-
Fix rescanning of async-aware Append nodes.
- f3baaf28a6da 14.0 landed
-
Doc: Update documentation for asynchronous execution.
- 15fcd33e0694 14.0 landed
-
Fix EXPLAIN ANALYZE for async-capable nodes.
- a363bc6da96b 14.0 landed
-
Minor code cleanup in asynchronous execution support.
- bb684c82f733 14.0 landed
-
Adjust input value to WaitEventSetWait() in ExecAppendAsyncEventWait().
- a8af856d3257 14.0 landed
-
Add support for asynchronous execution.
- 27e1f14563cf 14.0 landed