{"action":"created","comment":{"url":"https://api.github.com/repos/javers/javers/pulls/comments/53081810","id":53081810,"diff_hunk":"@@ -171,6 +180,19 @@ private BasicDBObject createIdQuery(GlobalId id) {\n         return new BasicDBObject (GLOBAL_ID_KEY, id.value());\n     }\n \n+    private Bson createSnapshotDescriptorsQuery(Collection<SnapshotDescriptor> descriptors) {\n+        Collection<Bson> descFilters = Lists.transform(new ArrayList<>(descriptors), new Function<SnapshotDescriptor, Bson>() {","path":"javers-persistence-mongo/src/main/java/org/javers/repository/mongo/MongoRepository.java","position":41,"original_position":41,"commit_id":"467d71c327b3adf8d2b7e93cf39cb60dceed0c94","original_commit_id":"467d71c327b3adf8d2b7e93cf39cb60dceed0c94","user":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"body":"tu możemy napotkać na ograniczenia sterownika Mongo na wielkość zapytania","created_at":"2016-02-16T21:30:19Z","updated_at":"2016-02-16T21:30:19Z","html_url":"https://github.com/javers/javers/pull/338#discussion_r53081810","pull_request_url":"https://api.github.com/repos/javers/javers/pulls/338","_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/comments/53081810"},"html":{"href":"https://github.com/javers/javers/pull/338#discussion_r53081810"},"pull_request":{"href":"https://api.github.com/repos/javers/javers/pulls/338"}}},"pull_request":{"url":"https://api.github.com/repos/javers/javers/pulls/338","id":59328377,"html_url":"https://github.com/javers/javers/pull/338","diff_url":"https://github.com/javers/javers/pull/338.diff","patch_url":"https://github.com/javers/javers/pull/338.patch","issue_url":"https://api.github.com/repos/javers/javers/issues/338","number":338,"state":"open","locked":false,"title":"Query snapshot descriptors","user":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-15T07:20:56Z","updated_at":"2016-02-16T21:30:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2bca871aaa6add2e94f81d2c32ebe8dedae80a0d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/javers/javers/pulls/338/commits","review_comments_url":"https://api.github.com/repos/javers/javers/pulls/338/comments","review_comment_url":"https://api.github.com/repos/javers/javers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javers/javers/issues/338/comments","statuses_url":"https://api.github.com/repos/javers/javers/statuses/467d71c327b3adf8d2b7e93cf39cb60dceed0c94","head":{"label":"javers:query-snapshot-descriptors","ref":"query-snapshot-descriptors","sha":"467d71c327b3adf8d2b7e93cf39cb60dceed0c94","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers - object auditing and diff framework for Java","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","deployments_url":"https://api.github.com/repos/javers/javers/deployments","created_at":"2013-12-10T08:23:03Z","updated_at":"2016-02-16T10:59:45Z","pushed_at":"2016-02-16T20:39:34Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"http://javers.org","size":4228,"stargazers_count":132,"watchers_count":132,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":22,"forks":42,"open_issues":22,"watchers":132,"default_branch":"master"}},"base":{"label":"javers:master","ref":"master","sha":"e0382092c01e5bf9215af7a84b3a78f12cff7763","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers - object auditing and diff framework for Java","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","deployments_url":"https://api.github.com/repos/javers/javers/deployments","created_at":"2013-12-10T08:23:03Z","updated_at":"2016-02-16T10:59:45Z","pushed_at":"2016-02-16T20:39:34Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"http://javers.org","size":4228,"stargazers_count":132,"watchers_count":132,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":42,"mirror_url":null,"open_issues_count":22,"forks":42,"open_issues":22,"watchers":132,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/338"},"html":{"href":"https://github.com/javers/javers/pull/338"},"issue":{"href":"https://api.github.com/repos/javers/javers/issues/338"},"comments":{"href":"https://api.github.com/repos/javers/javers/issues/338/comments"},"review_comments":{"href":"https://api.github.com/repos/javers/javers/pulls/338/comments"},"review_comment":{"href":"https://api.github.com/repos/javers/javers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javers/javers/pulls/338/commits"},"statuses":{"href":"https://api.github.com/repos/javers/javers/statuses/467d71c327b3adf8d2b7e93cf39cb60dceed0c94"}}}}