Feature: Add cluster discovery and transparent failover for replicas
Replicas can now discover cluster nodes and automatically failover
when their current source becomes unavailable.
Changes:
- Add GetClusterNodes RPC for cluster membership discovery
- Replace single master_address with follow_addresses array
- Add --follow-addresses CLI flag for comma-separated seed nodes
- Implement discovery loop polling nodes periodically (max 3 per interval)
- Implement transparent failover with configurable timeout
- Use incarnation-based merge for cluster view consistency
- Add discovery_interval_seconds and failover_timeout_seconds config
- Update examples and documentation
???? Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <
[email protected]>