11 lines
546 B
MySQL
11 lines
546 B
MySQL
|
|
-- Migration 032: Per-recorder GPU affinity (Issue #167)
|
||
|
|
-- Adds a nullable GPU UUID to the recorders table so each recorder can be
|
||
|
|
-- pinned to a specific GPU on its node. The value is passed through to the
|
||
|
|
-- node-agent sidecar-start payload and becomes NVIDIA_VISIBLE_DEVICES for the
|
||
|
|
-- capture container. NULL = legacy behavior (NVIDIA_VISIBLE_DEVICES=all, i.e.
|
||
|
|
-- every GPU visible). Accepts an nvidia-smi GPU UUID (e.g. "GPU-xxxx") or a
|
||
|
|
-- numeric index string.
|
||
|
|
|
||
|
|
ALTER TABLE recorders
|
||
|
|
ADD COLUMN IF NOT EXISTS gpu_uuid TEXT DEFAULT NULL;
|