# CLUSTERDOWN: The cluster cannot serve this slot

> The cluster as a whole is not healthy: slots are unowned or too many nodes are unreachable, so commands are refused instead of half-executed.

Source: https://sqlly.app/errors/redis/clusterdown
Last updated: 2026-11-30
License: Text and data [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) (credit SQLly, sqlly.app); code and SQL snippets [MIT](https://opensource.org/license/mit). [Details](https://sqlly.app/license).
Note: Quoted error message text belongs to its database vendor.

- Error prefix: `CLUSTERDOWN`
- Category: Cluster and replication

Error message:

```text
CLUSTERDOWN The cluster is down
```

## What it means

CLUSTERDOWN is the cluster-level refusal: the node you are talking to believes the cluster cannot serve this key correctly right now. The most common form reads The cluster is down and appears when the cluster state is fail, typically because too many primary nodes are unreachable. A second form, Hash slot not served, appears when the key's slot belongs to no node at all, which happens after crashes or an unfinished setup. A third reads The cluster is down and only accepts read commands and appears when cluster-allow-reads-when-down is enabled.

Redis Cluster refuses rather than guessing: routing a write without a verified owner could produce split-brain data that never reconciles. The usual real-world triggers are a crashed primary without a working replica, and networks that partition a minority of nodes.

## Common causes

- Too many primary nodes are unreachable at once, so the cluster marks its state as fail.
- The key's slot is covered by no node: a primary crashed and its replicas are gone too, or the slot was never assigned.
- A brand new cluster-enabled node has not been given any slots and cannot verify ownership.

## How to fix it

1. Look at the cluster state and how many slots are actually assigned:

   ```sql
   redis-cli -p 7000 CLUSTER INFO | grep -E 'cluster_state|cluster_slots_assigned'
   redis-cli -p 7000 CLUSTER NODES
   ```
2. Bring the failed nodes back, or reconnect this node's view of them:

   ```sql
   redis-cli -p 7000 CLUSTER MEET 127.0.0.1 7001
   ```
3. After crashes, repair slot coverage; the cluster tool can fix slots that lost their owner:

   ```sql
   redis-cli --cluster fix 127.0.0.1:7000
   ```

## Reproduce it safely

A fresh cluster-enabled node starts in the fail state with no slots assigned, which reproduces the error without a multi-node setup.

```sql
redis-server --port 7100 --cluster-enabled yes --cluster-config-file nodes-7100.conf --save '' &
redis-cli -p 7100 GET foo
# (error) CLUSTERDOWN The cluster is down
redis-cli -p 7100 CLUSTER INFO | grep cluster_state
# cluster_state:fail
```

## How SQLly helps

SQLly surfaces the full CLUSTERDOWN reply and runs CLUSTER INFO and CLUSTER NODES from the editor, so you can tell a fail state from an uncovered slot before you start restarting nodes.

## Questions

### CLUSTERDOWN or MOVED: how do they differ?

MOVED names a healthy owner elsewhere in the cluster. CLUSTERDOWN means the cluster cannot promise any correct owner right now, so it refuses instead.

### Why does it refuse instead of answering from local data?

Serving data without a verified slot owner risks split brain: two nodes could accept writes for the same slot and the copies would never reconcile.

## Related errors

- [`MOVED`](https://sqlly.app/errors/redis/moved): The key lives on another cluster node
- [`TRYAGAIN`](https://sqlly.app/errors/redis/tryagain): Slot is rehashing, retry the command
- [`2003`](https://sqlly.app/errors/mysql/2003): MySQL: Can't connect to MySQL server on host

The code and message text are from the [Redis documentation and source code](https://redis.io/docs/latest/).
