Hi Masahiko,

Attached v4 takes the partition lock and rechecks the leader, as you
suggested. The databaseId test is gone, since the recheck makes it
redundant. The new test and the role matrix give the same results as
v2.

I did not add the !OidIsValid(leader->roleId) check. DROP DATABASE
fails on the REPACK slot first anyway.

Thanks,
shihao zhong

Attachment: v4-0001-Fix-DROP-DATABASE-FORCE-to-terminate-parallel-wor.patch
Description: Binary data

Reply via email to