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

CLUSTER CANCELSLOTMIGRATIONS

Cancel all current ongoing slot migration operations.

Usage
CLUSTER CANCELSLOTMIGRATIONS
Complexity
O(N), where N is the number of slot migration operations being cancelled.
Since
9.0.0
ACL Categories
@admin, @dangerous, @slow
Command flags
NO_ASYNC_LOADING, ADMIN, STALE, ALL_DBS

CLUSTER CANCELSLOTMIGRATIONS cancels all in progress atomic slot migrations initiated through CLUSTER MIGRATESLOTS.

Only slot migrations initiated on this node are cancelled. If this node is the target of a slot migration, the cancellation must be performed on the source node.

Because the migrations being cancelled may touch keys in any database, the caller must have ACL access to all databases (the alldbs rule). See database permissions.