mirror of
https://github.com/hanzoai/datastore.git
synced 2026-09-26 13:55:07 +00:00
Start one idle Docker container per `DockerC` function at create time and generate `docker exec -i <container> /user_func` for the `executable_pool` command. This avoids creating and removing a Docker container for every pool worker while preserving the container-level network, filesystem, capability, memory, CPU, and pids restrictions. The `drop` command removes the persistent container, and the stateless test checks the generated `docker exec` command and container-name metadata without requiring Docker. PR: https://github.com/ClickHouse/ClickHouse/pull/105131 Tests: - `python3 -m py_compile programs/server/user_defined_executable_function_drivers/c_driver_common.py` - `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04241_executable_udf_driver.sh` - `CLICKHOUSE_BINARY=./build/programs/clickhouse tests/queries/0_stateless/04242_executable_udf_driver_errors.sh`