Back to Redis

CLUSTER FLUSHSLOTS

content/commands/cluster-flushslots.md

latest957 B
Original Source

Deletes all slots from a node.

The CLUSTER FLUSHSLOTS deletes all information about slots from the connected node. It can only be called when the database is empty.

Redis Software and Redis Cloud compatibility

| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | <span title="Not supported">❌ Standard</span> <span title="Not supported"><nobr>❌ Active-Active</nobr></span> | |

Return information

{{< multitabs id="cluster-flushslots-return-info" tab1="RESP2" tab2="RESP3" >}}

Simple string reply: OK

-tab-sep-

Simple string reply: OK.

{{< /multitabs >}}