Skip to content

v0.9.1

Choose a tag to compare

@cboettig cboettig released this 22 Sep 20:32
· 104 commits to main since this release
1bd7745

Bounded, per-connection DuckDB spill (#423, #426)

  • Spill cap: each DuckDB connection's max_temp_directory_size is set to 50% of the container's ephemeral-storage limit (POD_EPHEMERAL_LIMIT, via the Downward API; override with DUCKDB_MAX_TEMP_DIRECTORY_SIZE). An oversized spill now fails its own query with a DuckDB error, instead of the kubelet evicting the pod.
  • Private spill directories: each query and tile connection spills into its own /tmp/duckdb-<uuid> (root set by DUCKDB_TEMP_ROOT). Concurrent spills into a shared /tmp used to overwrite each other's files and segfault the server.

Deployments must add the POD_EPHEMERAL_LIMIT env (resourceFieldRef: limits.ephemeral-storage) to get the cap. Without it, only the private directories apply.

Image: ghcr.io/boettiger-lab/mcp-data-server:v0.9.1@sha256:1dd614eba3e85ee3dfc96fea7bc7757ab690651833cc7caf474e516aabc7f5c6. This is a retag of the :main digest dev validated at 1bd7745.