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: capture arrangement_dictionary_compression on the replica
`arrangement_dictionary_compression` was passed via `CreateInstance`,
baked into `InstanceConfig` from the controller's dyncfg at replica
creation. After an environmentd restart the controller re-derives the
value, so if the flag was flipped in between, the reconciled
`CreateInstance` carried a different value than the running replica was
created with -- a difference that risks an unnecessary replica restart.
Move the value out of `CreateInstance` entirely. The replica now
captures the first value it observes from a configuration update (in
`handle_update_configuration`) and holds it fixed for its lifetime,
mirroring it into the process-global `DICTIONARY_COMPRESSION`. The
reduced command history always orders `UpdateConfiguration` before any
`CreateDataflow`, so the value is latched before any arrangement is
built. The flag is also declared `ParameterScope::Replica` so it can be
overridden per-replica.
Drops `arrangement_dictionary_compression` from `InstanceConfig` and
`ReplicaConfig` (and the controller capture / specialize_command path),
and the clusterd test driver now pushes it as a dyncfg instead.
Fixes CLU-135.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LBErWUhZR4sBuEfGStb5FP
0 commit comments