this converts an error code from a mogilefsd tracker to an exception:
Examples of some exceptions that get created:
class AfterMismatchError < MogileFS::Error; end class DomainNotFoundError < MogileFS::Error; end class InvalidCharsError < MogileFS::Error; end
adds idempotent MogileFS commands names, these commands may be retried transparently on a different tracker if there is a network/server error.
this command is special since the cache is per-tracker, so we connect to all backends and not just one
Performs the cmd request with args.
this converts an error code from a mogilefsd tracker to an exception Most of these exceptions should already be defined, but since the MogileFS server code is liable to change and we may not always be able to keep up with the changes
Makes a new request string for cmd and args.
Turns the line response from the server into a Hash of options, an error, or raises, as appropriate.
Closes this backend’s socket.