mongoid/moped — pull request #130 by nilsonsfj (2012-12-14 18:16:45+00:00)
Title: Fix queries being sent to RECOVERING nodes within a replica set

This pull requests fixes the issue I described in my last comment at:

https://github.com/mongoid/moped/issues/115

It marks the node as down if it's neither a primary or secondary node, a condition which occurs when a node within a replica set is in the RECOVERING state.

FWIW, I don't know if this is the best solution but it works for me.