mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Start each `executable_pool` worker through `docker run` with its own FIFO directory instead of sharing one long-lived container and using `docker exec`. Keep `CLICKHOUSE_C_DRIVER_CPUS` as a per-worker limit and clean up any worker containers by the generated `DockerC` prefix on drop. Tests: python3 -m py_compile programs/server/user_defined_executable_function_drivers/c_driver_common.py Tests: CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04241_executable_udf_driver.sh Tests: CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04242_executable_udf_driver_errors.sh Tests: `DockerC` `numbers_mt(5000000)` with `max_threads = 64`