Creating lots of distributed tables concurrently results in deadlock
Open
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
One of our users does the following transaction concurrently for many tables and sees deadlocks:
```
BEGIN;
i) Creates a table and distributes it and create index.
ii) INSERT INTO local table (metadata)
iii) CREATE a coordinator table.
iv) set permissions on distributed table.
END;
```
I looked at the code for few hours, but don't have much clues yet.
Contributor guide
Assessment
This issue has not been assessed yet.