Question: predis multi slaves with a slave down #280
Labels
client-replication
Replication (managed by Predis)
feature
redis-sentinel
Replication (managed by redis-sentinel)
Milestone
My question is, with a predis setup involving multiple configured slaves, If 1 or more slaves are down, how do you get predis to stop trying to send queries to the down slave(s)?
When I tested taking a slave down I got spammed by these:
And then after a short while the error message switched to:
These exceptions make sense if there is only one slave, but I would have assumed that in a multiple slave configuration predis either would by default (or by configuration parameter) fail-over silently to a NON down slave host. ONLY if all slaves were down could I see an exception propagating up to the client, but not in this case.
How does predis handle multiple slaves when 1 or more are failed or unavailable?
Is there such a configuration parameter?
Thanks
-- Matt
The text was updated successfully, but these errors were encountered: