citusdata / citusdata/citus

Table colocation does not check changes in pg_dist_node

Open
#953 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
12.8k
Forks
794
Avg merge
2d 14h
Merged PRs (30d)
31

Description

Steps

1. Created a distributed table,
2. (Edited) Removed a worker by deleting a row from pg_dist_node
3. Created another distributed table

Result
New table is colocated with the old table, and shards are created on a removed worker.

Expected:
An error message, or anything other than creating shards on a worker that is not in the cluster.

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.