class Redis::Cluster

def send_cluster_command(command, &block)

def send_cluster_command(command, &block)
  subcommand = command[1].to_s.downcase
  case subcommand
  when 'addslots', 'delslots', 'failover', 'forget', 'meet', 'replicate',
       'reset', 'set-config-epoch', 'setslot'
    raise OrchestrationCommandNotSupported, 'cluster', subcommand
  when 'saveconfig' then @node.call_all(command, &block).first
  else assign_node(command).call(command, &block)
  end
end