Reads modules.cluster.* from the running core config and merges it over the
built-in defaults (clusterConfigDefaults(), the same source
CLUSTER_CAPABILITY.configSchema advertises — B.24). enabled is true:
clustering is opt-out (active unless a profile sets modules.cluster.enabled: false), preserving the pre-migration behaviour where point clustering was on by
default.
Behaviour-preserving: every value materialised here is the one each consumer used
to re-apply through its own ?? … fallback (strategy.ts, options.ts). Those
fallbacks stay as defence-in-depth for callers that build a ClusterConfig by
hand (tests, per-layer merges) rather than through this reader.
Reads
modules.cluster.*from the running core config and merges it over the built-in defaults (clusterConfigDefaults(), the same sourceCLUSTER_CAPABILITY.configSchemaadvertises — B.24).enabledistrue: clustering is opt-out (active unless a profile setsmodules.cluster.enabled: false), preserving the pre-migration behaviour where point clustering was on by default.Behaviour-preserving: every value materialised here is the one each consumer used to re-apply through its own
?? …fallback (strategy.ts,options.ts). Those fallbacks stay as defence-in-depth for callers that build aClusterConfigby hand (tests, per-layer merges) rather than through this reader.