What's new in Valkey 9.0? Discover new features and improvements. Read the announcement.

CLUSTER FLUSHSLOTS

Deletes all slots information from a node.

Usage
CLUSTER FLUSHSLOTS
Complexity
O(1)
Since
3.0.0
ACL Categories
@admin, @dangerous, @slow
Command flags
NO_ASYNC_LOADING, ADMIN, STALE

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.

Replies

RESP2

RESP3