BTW. Setting the batch size to that value should have no effect.
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
On Thu, Jun 23, 2011 at 8:01 PM, mdnorman <michael...@gmail.com> wrote:
> Setting the batch size means that all of the data comes in one
> download to the client from the DB. Otherwise, the DB cursor stays
> open and the next set of data is retrieved, because the batch size is
> by default 4MB. Debugging into the driver code showed that for these
> queries, the client would go back to the server at least 2 if not 3 or
> more times. That said, it's very possible this shouldn't make any
> difference in noticed behavior (and indeed, it hasn't).
>
> It's harder to reproduce in the javascript shell. I've seen the
> behavior once or twice, but not consistently.
Do you have any sparse indexes? Or did you run journaling with 1.8.0
at any time?
When this happens do you have the server logs for the same period on
the affected server? If so those might help.
There are times when a cursor is killed on the server but you should
get an error in the java driver.
Is it possible that you are updating documents when the cursor is open?