hubcio opened a new pull request, #2359: URL: https://github.com/apache/iggy/pull/2359
Implement automatic client redirection to cluster leader when initially connected to follower nodes. Ensures write operations always reach the leader while maintaining transparent SDK experience. Rust SDK changes: - Add leader_aware reconnection logic to TCP, QUIC, and WS clients - Implement connection info tracking for monitoring client state - Auto-discovery and reconnection to leader from cluster metadata - Update client APIs with get_connection_info() method Server changes: - Add --follower CLI flag to start node in follower-only mode - Enhance cluster configuration validation (node topology, transport) - Update TCP/QUIC/WebSocket impl with cluster-aware connection handling Testing infrastructure: - BDD test suite (leader_redirection.feature) - Docker Compose cluster setup (leader + follower nodes) - Helper modules for cluster testing and node management -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
