You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
compute: make per-column compression flag replica-scoped
Addresses review feedback on MaterializeInc#37111: scope
`enable_arrangement_column_compression_alpha` to the replica
(`ParameterScope::Replica`) so it can carry per-replica / per-size-family
overrides, like the other replica-local physical flags (lgalloc, persist pager,
column-paged batcher).
This also replaces the manual capture chain the flag previously borrowed from
dictionary compression — InstanceConfig/ReplicaConfig fields, the controller's
per-replica capture, and the `handle_create_instance` store — with the
replica-scoped idiom: the per-replica-resolved value arrives in the replica's
`worker_config`, and `apply_worker_config` mirrors it into the process-global
`mz_row_spine::COLUMN_COMPRESSION` flag (next to the lgalloc-region store).
The controller-level capture read only the environment value and would have
missed per-replica overrides. Re-applying on each config tick is safe: every
batch records its own codec, so a flip only affects batches sealed afterwards.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
0 commit comments