citusdata / citusdata/citus

Refactor physical planner to defer reading placement metadata

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

Description

The physical planner implements task assignment policies which builds a placement list for a given task. However, placement metadata may change when a shard is moved or master_update_node is called. There are currently no locks preventing this from happening during a query and even if there were, they would not be held until execution time in case of prepared statements.

The placement policy functions should be called at execution time.

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.