bdurand/sunspot_index_queue — pull request #10 by Bonsaikitt3n (2012-01-27 01:24:02+00:00)
Title: Newer version of Mongo do not raise Mongo::OperationFailure on FindAndModify not Matching a Doc

When the MongoImpl is retrieving documents to put into a Batch, a failure to find a document in Mongo no longer raises a Mongo::OperationFailure exception, resulting of passing a nil value to the entry handler. Small fix which should satisfy both newer and older versions of Mongo.