{"action":"created","issue":{"url":"https://api.github.com/repos/meteor/meteor/issues/3586","labels_url":"https://api.github.com/repos/meteor/meteor/issues/3586/labels{/name}","comments_url":"https://api.github.com/repos/meteor/meteor/issues/3586/comments","events_url":"https://api.github.com/repos/meteor/meteor/issues/3586/events","html_url":"https://github.com/meteor/meteor/issues/3586","id":55905539,"number":3586,"title":"Collection insertion/reset looping indefinitely when transferring large amounts of data","user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:DDP","name":"Project:DDP","color":"c7def8"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Minimongo","name":"Project:Minimongo","color":"006b75"},{"url":"https://api.github.com/repos/meteor/meteor/labels/Project:Mongo%20Driver","name":"Project:Mongo Driver","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-29T14:29:57Z","updated_at":"2015-02-03T22:23:58Z","closed_at":null,"body":"On older devices (iPhone 3GS, iPad 2), transferring a large amount of data in a Collection will loop on inserts, reaching some variable maximum, then resetting the collection and retrying forever.\r\n\r\nI would expect the transfer to stop and raise an exception, or at least log an error.\r\n\r\nA [demo](http://collection-reset-bug-demo.meteor.com) is available, with [source code](https://github.com/MattiSG/meteor-collections-reset-bug-demo)."},"comment":{"url":"https://api.github.com/repos/meteor/meteor/issues/comments/72748688","html_url":"https://github.com/meteor/meteor/issues/3586#issuecomment-72748688","issue_url":"https://api.github.com/repos/meteor/meteor/issues/3586","id":72748688,"user":{"login":"MattiSG","id":222463,"avatar_url":"https://avatars.githubusercontent.com/u/222463?v=3","gravatar_id":"","url":"https://api.github.com/users/MattiSG","html_url":"https://github.com/MattiSG","followers_url":"https://api.github.com/users/MattiSG/followers","following_url":"https://api.github.com/users/MattiSG/following{/other_user}","gists_url":"https://api.github.com/users/MattiSG/gists{/gist_id}","starred_url":"https://api.github.com/users/MattiSG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MattiSG/subscriptions","organizations_url":"https://api.github.com/users/MattiSG/orgs","repos_url":"https://api.github.com/users/MattiSG/repos","events_url":"https://api.github.com/users/MattiSG/events{/privacy}","received_events_url":"https://api.github.com/users/MattiSG/received_events","type":"User","site_admin":false},"created_at":"2015-02-03T22:23:58Z","updated_at":"2015-02-03T22:23:58Z","body":"No, it does not seem linked to WebSockets per se, as I was able to reproduce this behavior on much more recent hardware by increasing the amount of transferred data."}}