Implementation of Sphinx failover.