citusdata / citusdata/citus

DDL propagation from metadata nodes

Open
#1,083 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.