MONGODB [DEBUG] cursor.refresh() for cursor 707863

2019-02-21 00:21发布

问题:

While updating a big json list, I'm getting the following error :

2012-04-01T09:34:00+00:00 app[run.1]: MONGODB [DEBUG] cursor.refresh() for cursor 7078636577051629992
2012-04-01T09:34:00+00:00 app[run.1]: the server responded with status 404
2012-04-01T09:34:00+00:00 app[run.1]: rake aborted!

That seems to say: in consequence of cursor.refresh() I get a time out then the server 404 responce

Mongodb is currently running on Heroku/MongoLAB but on my local machine I've not this behaviour.

回答1:

You have answer on Google group of Mongoid by Durran Jordan ( Mongoid's creator ) ( https://groups.google.com/d/topic/mongoid/n8pWIVBaYMI/discussion )

You try using Mopped and it's not currently production ready.