                     else
                         opts.cb(false, results[0][0])
 
-
-
-
     random_snap_server: (opts) =>
         opts = defaults opts,
             cb        : required

                    else
                        ans = (r[0] for r in results)
                    opts.cb(false, ans)
    # If there is a cached version of stats (which has given ttl) return that -- this could have
    # been computed by any of the hubs.  If there is no cached version, compute anew and store
    # in cache for ttl seconds.

            keyspace : undefined
            username : undefined
            password : undefined
            consistency : undefined

        @keyspace = opts.keyspace

        if opts.hosts.length == 1
            # the default QUORUM won't work if there is only one node.
            opts.consistency = 1

        @consistency = opts.consistency  # the default consistency (for now)

        #winston.debug("connect using: #{JSON.stringify(opts)}")  # DEBUG ONLY!! output contains sensitive info (the password)!!!

