module Redis::Cluster::SlotLoader

def fetch_slot_info(node)

def fetch_slot_info(node)
  node.call(%i[cluster slots])
      .map { |arr| parse_slot_info(arr, default_ip: node.host) }
      .flatten
rescue CannotConnectError, ConnectionError, CommandError
  {} # can retry on another node
end