citusdata / citusdata/citus

create_distributed_table should honour max_adaptive_executor_pool_size

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

Description

In #3841 we made COPY honour `citus.max_adaptive_executor_pool_size`, but `create_distributed_table` does not honour it due to a call to `SetLocalForceMaxQueryParallelization` in `CreateShardsOnWorkers`.

It would be preferable for the executor to have a "no slow start" flag, such that we encourage parallelism over `citus.max_adaptive_executor_pool_size` connections before starting the data copy.

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.