Failover mechanism of master nodes

If you are using one of the official clients, they will detect the node has disappeared and will remove it from the connection pool that it maintains.