{"action":"created","issue":{"url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/28","labels_url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/28/comments","events_url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/28/events","html_url":"https://github.com/mongodb-js/collection-sample/pull/28","id":128999463,"number":28,"title":"INT-1105 add read preference explicitly to work with secondaries.","user":{"login":"rueckstiess","id":99221,"avatar_url":"https://avatars.githubusercontent.com/u/99221?v=3","gravatar_id":"","url":"https://api.github.com/users/rueckstiess","html_url":"https://github.com/rueckstiess","followers_url":"https://api.github.com/users/rueckstiess/followers","following_url":"https://api.github.com/users/rueckstiess/following{/other_user}","gists_url":"https://api.github.com/users/rueckstiess/gists{/gist_id}","starred_url":"https://api.github.com/users/rueckstiess/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rueckstiess/subscriptions","organizations_url":"https://api.github.com/users/rueckstiess/orgs","repos_url":"https://api.github.com/users/rueckstiess/repos","events_url":"https://api.github.com/users/rueckstiess/events{/privacy}","received_events_url":"https://api.github.com/users/rueckstiess/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T01:38:15Z","updated_at":"2016-01-27T01:38:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/mongodb-js/collection-sample/pulls/28","html_url":"https://github.com/mongodb-js/collection-sample/pull/28","diff_url":"https://github.com/mongodb-js/collection-sample/pull/28.diff","patch_url":"https://github.com/mongodb-js/collection-sample/pull/28.patch"},"body":"- Added read preference `nearest` on the collection (./lib/base-sampler.js). \r\n- Now passing same collection object to the reservoir stream function, instead of creating a new one.\r\n- Added local test for secondaries (switched all tests to a replicaset topology, see package.json `pretest` and `posttest` hooks)"},"comment":{"url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/comments/175333689","html_url":"https://github.com/mongodb-js/collection-sample/pull/28#issuecomment-175333689","issue_url":"https://api.github.com/repos/mongodb-js/collection-sample/issues/28","id":175333689,"user":{"login":"mention-bot","id":15710697,"avatar_url":"https://avatars.githubusercontent.com/u/15710697?v=3","gravatar_id":"","url":"https://api.github.com/users/mention-bot","html_url":"https://github.com/mention-bot","followers_url":"https://api.github.com/users/mention-bot/followers","following_url":"https://api.github.com/users/mention-bot/following{/other_user}","gists_url":"https://api.github.com/users/mention-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/mention-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mention-bot/subscriptions","organizations_url":"https://api.github.com/users/mention-bot/orgs","repos_url":"https://api.github.com/users/mention-bot/repos","events_url":"https://api.github.com/users/mention-bot/events{/privacy}","received_events_url":"https://api.github.com/users/mention-bot/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T01:38:16Z","updated_at":"2016-01-27T01:38:16Z","body":"By analyzing the blame information on this pull request, we identified @imlucas, @kangas and @greenkeeperio-bot to be potential reviewers"}}