CLUSTER SET-CONFIG-EPOCH

Since 1.1.0Cluster

Syntax

CLUSTER SET-CONFIG-EPOCH epoch

Sets this node's config epoch, for giving each node of a new cluster a different one before it serves. It is refused once the epoch is not 0.

Reply

  • OK.
  • ERR Node config epoch is already non-zero.