vert-x3 / vertx-redis-client

Redis client for Vert.x
http://vertx.io
Apache License 2.0
128 stars 116 forks source link

Remember failures when collecting initial information in cluster/replication/sentinel #426

Closed Ladicek closed 6 months ago

Ladicek commented 7 months ago

In the cluster, replication and sentinel modes, the first thing we do is iterate through known nodes and for each, connect and send a command to collect some information, until we obtain a successful response.

This commit makes sure we remember the failures and when no successful response is ever obtained, we can complete the connection Future with an error message that contains the actual failures and not just a placeholder string.