Re: Concurrent deadlock scenario with DROP INDEX on partitioned index
Jimmy Yih <jyih@vmware.com>
From: Jimmy Yih <jyih@vmware.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>, Gaurab Dey <gaurabd@vmware.com>
Date: 2022-03-21T22:57:11Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote: > Hence, I propose the attached. 0001 is pure refactoring: it hopefully > clears up the confusion about which "relkind" is which, and it also > saves a couple of redundant syscache fetches in RemoveRelations. > Then 0002 adds the actual bug fix as well as a test case that does > deadlock with unpatched code. The proposed patches look great and make much more sense. I see you've already squashed and committed in 7b6ec86532c2ca585d671239bba867fe380448ed. Thanks! -- Jimmy Yih (VMware) Gaurab Dey (VMware)
Commits
-
Fix risk of deadlock failure while dropping a partitioned index.
- d8d378d5100f 12.11 landed
- b8ae17fd9fdf 11.16 landed
- 7b6ec86532c2 15.0 landed
- 2241e5ceda2f 13.7 landed
- 05ccf974cd75 14.3 landed