Refactor physical planner to defer reading placement metadata
Open
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
Assessment
This issue has not been assessed yet.