-
QuestionsFirst, I appreciate you keeping Lettuce active. My questions are:
Environment
What I already checked: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can reproduce the exception by configuring a cluster that doesn't cover all hash slots and then issuing a command against a hash slot that has no master for it. |
Beta Was this translation helpful? Give feedback.
-
any enhancement for this, I found during client setup if the redis cluster is not ready and then following the write/read command will be failure, but my question is why the topology refresh could fix this? To refresh the partitions? |
Beta Was this translation helpful? Give feedback.
PartitionSelectorException
happens if there is no read or write node for a hash slot. That is, if there is no master currently serving a slot or, if the selection wants to send a command towards a replica, that there is no replica available for the slot.You can reproduce the exception by configuring a cluster that doesn't cover all hash slots and then issuing a command against a hash slot that has no master for it.