CLUSTERDOWN and UNBLOCKED errors

65 views
Skip to first unread message

Alisson Cavalcante Agiani

unread,
May 5, 2015, 6:51:36 PM5/5/15
to redi...@googlegroups.com
What configuration should I do on my cluster to avoid this kind of error?

Salvatore Sanfilippo

unread,
May 6, 2015, 11:04:12 AM5/6/15
to Redis DB
Hello,

CLUSTERDOWN is a transient error that happens when at least one master
node is down. If you want the partial portion of the cluster which is
still up to run regardless of a set of hash slots not covered, there
is an option inside the example "redis.conf" file, doing exactly this.

UNBLOCKED is unavoidable since it is delivered to clients that are
blocked into lists that are moved from a different master because of
resharding. We don't want them to wait forever for something that will
never happen, since those lists are not moved into a different master.

So CLUSTERDOWN should be handled by the application and or at client
level directly by retrying. UNBLOCKED should be handled rescanning the
config with CLUSTER SLOTS and connecting to the right node.

Cheers,
Salvatore

On Wed, May 6, 2015 at 12:51 AM, Alisson Cavalcante Agiani
<thelin...@gmail.com> wrote:
> What configuration should I do on my cluster to avoid this kind of error?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to redis-db+u...@googlegroups.com.
> To post to this group, send email to redi...@googlegroups.com.
> Visit this group at http://groups.google.com/group/redis-db.
> For more options, visit https://groups.google.com/d/optout.



--
Salvatore 'antirez' Sanfilippo
open source developer - Pivotal http://pivotal.io

"If a system is to have conceptual integrity, someone must control the
concepts."
— Fred Brooks, "The Mythical Man-Month", 1975.
Reply all
Reply to author
Forward
0 new messages