Background
With the KV delta table change (duroxide 0.1.26), the execution_id column in the kv_store table is no longer read by any code path. KV pruning is now instance-scoped (not execution-scoped), and the column serves no purpose.
Current state
The column was intentionally kept in the 0020 migration for backward compatibility — existing deployments have the column populated, and dropping it during a rolling upgrade could cause issues with old nodes that still write to it.
Action
In a future release (after all deployments are on the kv_delta version):
- Create a new migration that:
ALTER TABLE kv_store DROP COLUMN execution_id;
DROP INDEX IF EXISTS idx_kv_store_execution;
- Update any stored procedures that still reference
execution_id in the kv_store INSERT path
Priority
Low — the column is harmless, just wastes a few bytes per row.
Background
With the KV delta table change (duroxide 0.1.26), the
execution_idcolumn in thekv_storetable is no longer read by any code path. KV pruning is now instance-scoped (not execution-scoped), and the column serves no purpose.Current state
The column was intentionally kept in the 0020 migration for backward compatibility — existing deployments have the column populated, and dropping it during a rolling upgrade could cause issues with old nodes that still write to it.
Action
In a future release (after all deployments are on the kv_delta version):
ALTER TABLE kv_store DROP COLUMN execution_id;DROP INDEX IF EXISTS idx_kv_store_execution;execution_idin the kv_store INSERT pathPriority
Low — the column is harmless, just wastes a few bytes per row.