cluster-cancelslotmigrations.3valkey - Man Page

Cancel all current ongoing slot migration operations.

Synopsis

CLUSTER CANCELSLOTMIGRATIONS

Description

CLUSTER CANCELSLOTMIGRATIONS cancels all in progress valkey-atomic-slot-migration(7) atomic slot migrations initiated through cluster-migrateslots(3valkey).

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 valkey-acl(7) database permissions.

Complexity

O(N), where N is the number of slot migration operations being cancelled.

Acl Categories

@admin @dangerous @slow

History

See Also

asking(3valkey), cluster(3valkey), cluster-addslots(3valkey), cluster-addslotsrange(3valkey), cluster-bumpepoch(3valkey), cluster-count-failure-reports(3valkey), cluster-countkeysinslot(3valkey), cluster-delslots(3valkey), cluster-delslotsrange(3valkey), cluster-failover(3valkey), cluster-flushslots(3valkey), cluster-forget(3valkey), cluster-getkeysinslot(3valkey), cluster-getslotmigrations(3valkey), cluster-help(3valkey), cluster-info(3valkey), cluster-keyslot(3valkey), cluster-links(3valkey), cluster-meet(3valkey), cluster-migrateslots(3valkey), cluster-myid(3valkey), cluster-myshardid(3valkey), cluster-nodes(3valkey), cluster-replicas(3valkey), cluster-replicate(3valkey), cluster-reset(3valkey), cluster-saveconfig(3valkey), cluster-set-config-epoch(3valkey), cluster-setslot(3valkey), cluster-shards(3valkey), cluster-slot-stats(3valkey), cluster-slots(3valkey), cluster-syncslots(3valkey), clusterscan(3valkey), readonly(3valkey), readwrite(3valkey)

Info

2026-05-19 9.1.0 Valkey Command Manual