DDL propagation from metadata nodes
Open
mx
usability
- Dominant language
- C
- Stars
- 12.8k
- Forks
- 794
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 31
Description
When issuing DDL commands from nodes with metadata, we currently error out. Since modern Citus deployments have the coordinator in the metadata, it becomes possible to propagate DDL from any node.
To do so without risk of distributed deadlocks, we need to take the appropriate locks on the real coordinator before doing anything else. One way to achieve that would be to actually run the command on the coordinator (with enable_ddl_propagation=off) before doing anything else.
Contributor guide
Assessment
This issue has not been assessed yet.