JackAdams / meteor-transactions

App level transactions for Meteor + Mongo
http://transactions.taonova.com/
MIT License
113 stars 16 forks source link

Is there a limit for number of operations? #92

Open fuatsengul opened 7 years ago

fuatsengul commented 7 years ago

Hi! I'm trying to copy a lot of items at once but it fails sometimes, I believe it may be related to number of operations, I tried to run ~480 items and it worked, I'm trying ~640 items now but it fails. Is there any limit for operation? or should I look somewhere else for problem?

This is last few lines

Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Pushed insert command to stack: iuTJoPNRWpkw7ybvq
Beginning commit with transaction_id: iuTJoPNRWpkw7ybvq
Data-Meister commented 7 years ago

There is no limit on the number of operations.

JackAdams commented 7 years ago

I think the limits would be in terms of memory. If those are big documents being inserted, all that's held in memory until the commit is completed.