Stephen Pair

Results comments of Stephen Pair

For the benefit of others who might be having the same issue (ahem), it would be helpful to post what it was you were doing wrong.

I am not using a sparse index, but I do have indexes. I have 3 indexes for this schema…all three fields are of the type String, 2 are unique indexes...

Actually, with further testing, I see that in some cases if I add a clause using a non-indexed field, more of the documents are returned…in one case, with a clause...

They are rather large and uninteresting…the relevant info is here. One question though…over time we've added fields to the schema…we've not removed any fields or indexes. We didn't do anything...

I upgraded to the latest mongoose, mongo plugin, and mongodb and I'm still having this issue. One thing I've noticed is that I am getting the following message in the...

Ok, I couldn't get `model.collection.find({}, callback)` to work…the second arg to the callback isn't an array of results…not sure what it was. However, I went to the mongo-native documentation and...

ok…I'm sneaking up on it…I switched to using the `model.find().each()` protocol to see if I hit the problem there as well. I did. Every time, after the same record, I...

Can't provide the data…it has sensitive customer information. I have a few more clues though…and I think it is in the -native module. I went back to the find() method...

One other clue…I tried the iterative method again…with and without the use of nextTick() (in mongoose's query.each() method)…again when nextTick is used, I get 101 results and the bad cursorId...

Ok..this might be a mongoose issue after all. What I've discovered is that the problem goes away if I put a delay after connecting to the DB. I think what...