This module makes HEAD requests with reusable HTTP connections to verify paths. This is faster than having the mogilefsd tracker verifying paths, and the client could have broken routing to some the storage nodes the mogilefsd tracker/monitor can see.
new (logger) source
error (msg) source
finisher (timeout = 10000) source
this runs in a background thread to cleanup all the requests that didn't finish quickly enough
iter_check (ok, sock, pollset) source
key_for (uri) source
returns a string key for the connection pool
sock_get (uri) source
initializes a cached connection for uri
or creates a new one
sock_put (sock) source
returns an idle socket to the pool
verify (uris, count, timeout) source
reorders URIs based on response time This is the main method of this class