- Fix ha_start_election_async: ha->n_peers = n_other (other peers), not candidates_count (total including self). The standby_converged[] array is indexed by peer index, so the bound must be n_other. - Fix ha_compute_safe_committed_lsn: return self_lsn for n_peers==0 (prevents WAL truncation on single-node re-election). - Integration test: 3-node cluster reaches CTRL_PRIMARY via majority convergence within ~20s; no degraded-mode WARN in logs. |
||
|---|---|---|
| .. | ||
| election-iomgr-refactor | ||
| ha-config-bootstrap | ||
| ha-heartbeat-liveness | ||
| ha-peer-connection-reuse | ||
| ha-repl-hardening | ||
| raft-library | ||
| resval-id-decoupling | ||
| scheduler-controller-msg-gap | ||
| worker-join-refactor | ||