Open me-ascii opened 11 years ago
node@0.10.17 model@0.2.10
Which adapter are you using? There's no use of nextTick
in Model itself.
mongodb
Ah, that's not entirely surprising. We use an older version of mongodb-wrapper. We have an open issue to upgrade it, but it hasn't been a huge priority. Would love a PR for that, if you're interested in helping out. In any case, if the next stable Node version breaks this, we'll definitely do the upgrade as a bugfix.
Thank you for clarification. But this error leads to crash of nodejs process. What it is possible to do with it?
Having the same issue with the mongodb adapter node@0.10.19 model@0.3.1
Is there a temporary way to resolve this?
I just overrode the dependency in the Model package to use the latest version of mongodb-wrapper. Suppose I'll keep an eye out for anything that breaks in doing so, but at least it fixed the current issue with my large dataset causing the stack overflow.
Awesome. Could you give us a PR for the upgrade, if everything goes well with the new mongodb-wrapper?
What does "PR" mean?
A GitHub 'pull request': https://help.github.com/articles/using-pull-requests
"Pull Request" - a way to send patches you make back to the original project. You'll see a big green button in your fork after you've made a change prompting you to make a pull request. I think it's labeled "compare and merge" now.
Oh, PR its pull request, of course : ) sorry, for lame question
We've upgraded to node-mongodb-native in the master branch. Could somebody verify if this is still a problem after the update?
Error on
Model.all( {}, done )
when the collection of a few hundred (or a thousand) records