• Home
  • Commands
  • Clients
  • Documentation
  • Community
  • Download
  • Modules
  • Support
Redis
Redis Commands Clients Documentation Community Download Modules Support

CLUSTER FLUSHSLOTS

Available since 3.0.0.

Time complexity: O(1)

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.

*Return value

Simple string reply: OK

Related commands

  • CLUSTER ADDSLOTS
  • CLUSTER BUMPEPOCH
  • CLUSTER COUNT-FAILURE-REPORTS
  • CLUSTER COUNTKEYSINSLOT
  • CLUSTER DELSLOTS
  • CLUSTER FAILOVER
  • CLUSTER FLUSHSLOTS
  • CLUSTER FORGET
  • CLUSTER GETKEYSINSLOT
  • CLUSTER INFO
  • CLUSTER KEYSLOT
  • CLUSTER MEET
  • CLUSTER MYID
  • CLUSTER NODES
  • CLUSTER REPLICAS
  • CLUSTER REPLICATE
  • CLUSTER RESET
  • CLUSTER SAVECONFIG
  • CLUSTER SET-CONFIG-EPOCH
  • CLUSTER SETSLOT
  • CLUSTER SLAVES
  • CLUSTER SLOTS
  • READONLY
  • READWRITE

This website is open source software. See all credits.

Sponsored by Redis Labs