myxce/.kiro/specs/component-failover-adoption
Rongsong Shen 210faa2b7a
feat(component-failover-adoption): add candidate-list-to-client-config helper
xce_cluster_config_to_client_config() converts a validated candidate
list into a fully-populated xce_client_config_t, copying candidates
in order with no special-casing for a single candidate. The
truncate-with-warning safety net stays in place as a defensive guard
now that N_MAX_MASTERS and MAX_HA_CANDIDATES match.

Also removes a WARN check in xce_cluster_config_validate() that
became unreachable dead code once task 1.1 reconciled the two
candidate-count constants (both checks tested the same field against
the same constant with no mutation between them).

Task 1.2 of component-failover-adoption (Requirement 1 AC1-AC7).
2026-08-11 04:57:31 +00:00
..
design.md save status 2026-07-21 08:24:44 +00:00
requirements.md save status 2026-07-21 08:24:44 +00:00
research.md save status 2026-07-21 08:24:44 +00:00
spec.json save status 2026-07-21 08:24:44 +00:00
tasks.md feat(component-failover-adoption): add candidate-list-to-client-config helper 2026-08-11 04:57:31 +00:00