CLUSTER CANCELSLOTMIGRATIONS · Valkey

CLUSTER CANCELSLOTMIGRATIONS

Cancel all current ongoing slot migration operations.

Usage

CLUSTER CANCELSLOTMIGRATIONS

Description

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.

Complexity

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

ACL Categories

@admin @dangerous @slow

History

See also

ASKING, CLUSTER, CLUSTER ADDSLOTS, CLUSTER ADDSLOTSRANGE, CLUSTER BUMPEPOCH, CLUSTER COUNT-FAILURE-REPORTS, CLUSTER COUNTKEYSINSLOT, CLUSTER DELSLOTS, CLUSTER DELSLOTSRANGE, CLUSTER FAILOVER, CLUSTER FLUSHSLOTS, CLUSTER FORGET, CLUSTER GETKEYSINSLOT, CLUSTER GETSLOTMIGRATIONS, CLUSTER HELP, CLUSTER INFO, CLUSTER KEYSLOT, CLUSTER LINKS, CLUSTER MEET, CLUSTER MIGRATESLOTS, CLUSTER MYID, CLUSTER MYSHARDID, CLUSTER NODES, CLUSTER REPLICAS, CLUSTER REPLICATE, CLUSTER RESET, CLUSTER SAVECONFIG, CLUSTER SET-CONFIG-EPOCH, CLUSTER SETSLOT, CLUSTER SHARDS, CLUSTER SLOT-STATS, CLUSTER SLOTS, CLUSTER SYNCSLOTS, CLUSTERSCAN, READONLY, READWRITE.