{"action":"created","issue":{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/67","labels_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/67/labels{/name}","comments_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/67/comments","events_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/67/events","html_url":"https://github.com/vsivsi/meteor-file-collection/issues/67","id":114095544,"number":67,"title":"Working on multiple instances?","user":{"login":"dnish","id":7636313,"avatar_url":"https://avatars.githubusercontent.com/u/7636313?v=3","gravatar_id":"","url":"https://api.github.com/users/dnish","html_url":"https://github.com/dnish","followers_url":"https://api.github.com/users/dnish/followers","following_url":"https://api.github.com/users/dnish/following{/other_user}","gists_url":"https://api.github.com/users/dnish/gists{/gist_id}","starred_url":"https://api.github.com/users/dnish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnish/subscriptions","organizations_url":"https://api.github.com/users/dnish/orgs","repos_url":"https://api.github.com/users/dnish/repos","events_url":"https://api.github.com/users/dnish/events{/privacy}","received_events_url":"https://api.github.com/users/dnish/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":35,"created_at":"2015-10-29T16:49:44Z","updated_at":"2015-11-03T22:17:03Z","closed_at":null,"body":"Hey,\r\nwe are using \"CollectionFS\" at the moment and having big issues with server crashes because we are running multiple Meteor instances to scale our application. Is File-Collection ready for multiple instances or will it have the same problems like CollectionFS?"},"comment":{"url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/comments/153506768","html_url":"https://github.com/vsivsi/meteor-file-collection/issues/67#issuecomment-153506768","issue_url":"https://api.github.com/repos/vsivsi/meteor-file-collection/issues/67","id":153506768,"user":{"login":"dnish","id":7636313,"avatar_url":"https://avatars.githubusercontent.com/u/7636313?v=3","gravatar_id":"","url":"https://api.github.com/users/dnish","html_url":"https://github.com/dnish","followers_url":"https://api.github.com/users/dnish/followers","following_url":"https://api.github.com/users/dnish/following{/other_user}","gists_url":"https://api.github.com/users/dnish/gists{/gist_id}","starred_url":"https://api.github.com/users/dnish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnish/subscriptions","organizations_url":"https://api.github.com/users/dnish/orgs","repos_url":"https://api.github.com/users/dnish/repos","events_url":"https://api.github.com/users/dnish/events{/privacy}","received_events_url":"https://api.github.com/users/dnish/received_events","type":"User","site_admin":false},"created_at":"2015-11-03T22:17:03Z","updated_at":"2015-11-03T22:17:03Z","body":"Yeah, but my local app and the server app are using the same code base, and when I link resumable to the server, the server can't find the current uploading file and throws the 404 (because the lookup query is <code>lookup: {_id:null}</code>). This only happens if resumables target is set to the remote server. If I don't change the target url, resumable HEAD responses successfully with 200, but then the whole upload fails.\r\n\r\nMy changed line is searching for the file id in the query (in this case it is saved in the resumable part as identifier) and completes the lookup query, resumable HEAD then stops throwing a 404 and responses successfully with 200. \r\n\r\nIt seems for me a little bit like a state issue, maybe some resumable information is stored locally on the app side and the linked remote server doesn't have access to it."}}