{"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8","id":38767558,"html_url":"https://github.com/postmanlabs/sails-mysql-transactions/pull/8","diff_url":"https://github.com/postmanlabs/sails-mysql-transactions/pull/8.diff","patch_url":"https://github.com/postmanlabs/sails-mysql-transactions/pull/8.patch","issue_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/8","number":8,"state":"closed","locked":false,"title":"Using mysql Pool Cluster for replica load balancing","user":{"login":"shamasis","id":232373,"avatar_url":"https://avatars.githubusercontent.com/u/232373?v=3","gravatar_id":"","url":"https://api.github.com/users/shamasis","html_url":"https://github.com/shamasis","followers_url":"https://api.github.com/users/shamasis/followers","following_url":"https://api.github.com/users/shamasis/following{/other_user}","gists_url":"https://api.github.com/users/shamasis/gists{/gist_id}","starred_url":"https://api.github.com/users/shamasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamasis/subscriptions","organizations_url":"https://api.github.com/users/shamasis/orgs","repos_url":"https://api.github.com/users/shamasis/repos","events_url":"https://api.github.com/users/shamasis/events{/privacy}","received_events_url":"https://api.github.com/users/shamasis/received_events","type":"User","site_admin":false},"body":"This PR replaces the `weighted-round-robin` module usage to load balance read replicas. Instead, it utilises `mysql.createPoolCluster`.\r\n\r\n- It also exposes cluster configuration that can be passed to it.\r\n- uses `uid` instead of thread id for storing connection references\r\n","created_at":"2015-06-29T12:17:18Z","updated_at":"2015-06-29T12:19:28Z","closed_at":"2015-06-29T12:19:27Z","merged_at":"2015-06-29T12:19:27Z","merge_commit_sha":"0be36c3f5af888252d5979f199c92be694633271","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8/commits","review_comments_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8/comments","review_comment_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/comments{/number}","comments_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/8/comments","statuses_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/statuses/8abcf3e15827998293d3e2bc068d819fc560ad5b","head":{"label":"postmanlabs:feature/mysql-pool-cluster","ref":"feature/mysql-pool-cluster","sha":"8abcf3e15827998293d3e2bc068d819fc560ad5b","user":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":32450877,"name":"sails-mysql-transactions","full_name":"postmanlabs/sails-mysql-transactions","owner":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postmanlabs/sails-mysql-transactions","description":"sails/waterline ORM with mySQL transaction support","fork":false,"url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions","forks_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/forks","keys_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/teams","hooks_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/hooks","issue_events_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/events{/number}","events_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/events","assignees_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/assignees{/user}","branches_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/branches{/branch}","tags_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/tags","blobs_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/refs{/sha}","trees_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/statuses/{sha}","languages_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/languages","stargazers_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/stargazers","contributors_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/contributors","subscribers_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/subscribers","subscription_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/subscription","commits_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/commits{/sha}","git_commits_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/commits{/sha}","comments_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/comments{/number}","issue_comment_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/comments{/number}","contents_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/contents/{+path}","compare_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/merges","archive_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/downloads","issues_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues{/number}","pulls_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls{/number}","milestones_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/milestones{/number}","notifications_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/labels{/name}","releases_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/releases{/id}","created_at":"2015-03-18T09:57:17Z","updated_at":"2015-06-21T08:54:56Z","pushed_at":"2015-06-29T12:19:28Z","git_url":"git://github.com/postmanlabs/sails-mysql-transactions.git","ssh_url":"git@github.com:postmanlabs/sails-mysql-transactions.git","clone_url":"https://github.com/postmanlabs/sails-mysql-transactions.git","svn_url":"https://github.com/postmanlabs/sails-mysql-transactions","homepage":null,"size":583,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":7,"default_branch":"develop"}},"base":{"label":"postmanlabs:develop","ref":"develop","sha":"e688c0bb45d26d5666a10ebe41dcc7b6bc5c2577","user":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":32450877,"name":"sails-mysql-transactions","full_name":"postmanlabs/sails-mysql-transactions","owner":{"login":"postmanlabs","id":10251060,"avatar_url":"https://avatars.githubusercontent.com/u/10251060?v=3","gravatar_id":"","url":"https://api.github.com/users/postmanlabs","html_url":"https://github.com/postmanlabs","followers_url":"https://api.github.com/users/postmanlabs/followers","following_url":"https://api.github.com/users/postmanlabs/following{/other_user}","gists_url":"https://api.github.com/users/postmanlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/postmanlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmanlabs/subscriptions","organizations_url":"https://api.github.com/users/postmanlabs/orgs","repos_url":"https://api.github.com/users/postmanlabs/repos","events_url":"https://api.github.com/users/postmanlabs/events{/privacy}","received_events_url":"https://api.github.com/users/postmanlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/postmanlabs/sails-mysql-transactions","description":"sails/waterline ORM with mySQL transaction support","fork":false,"url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions","forks_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/forks","keys_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/keys{/key_id}","collaborators_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/teams","hooks_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/hooks","issue_events_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/events{/number}","events_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/events","assignees_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/assignees{/user}","branches_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/branches{/branch}","tags_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/tags","blobs_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/refs{/sha}","trees_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/trees{/sha}","statuses_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/statuses/{sha}","languages_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/languages","stargazers_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/stargazers","contributors_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/contributors","subscribers_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/subscribers","subscription_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/subscription","commits_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/commits{/sha}","git_commits_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/git/commits{/sha}","comments_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/comments{/number}","issue_comment_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/comments{/number}","contents_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/contents/{+path}","compare_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/compare/{base}...{head}","merges_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/merges","archive_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/downloads","issues_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues{/number}","pulls_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls{/number}","milestones_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/milestones{/number}","notifications_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/labels{/name}","releases_url":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/releases{/id}","created_at":"2015-03-18T09:57:17Z","updated_at":"2015-06-21T08:54:56Z","pushed_at":"2015-06-29T12:19:28Z","git_url":"git://github.com/postmanlabs/sails-mysql-transactions.git","ssh_url":"git@github.com:postmanlabs/sails-mysql-transactions.git","clone_url":"https://github.com/postmanlabs/sails-mysql-transactions.git","svn_url":"https://github.com/postmanlabs/sails-mysql-transactions","homepage":null,"size":583,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":7,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8"},"html":{"href":"https://github.com/postmanlabs/sails-mysql-transactions/pull/8"},"issue":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/8"},"comments":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/postmanlabs/sails-mysql-transactions/statuses/8abcf3e15827998293d3e2bc068d819fc560ad5b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shamasis","id":232373,"avatar_url":"https://avatars.githubusercontent.com/u/232373?v=3","gravatar_id":"","url":"https://api.github.com/users/shamasis","html_url":"https://github.com/shamasis","followers_url":"https://api.github.com/users/shamasis/followers","following_url":"https://api.github.com/users/shamasis/following{/other_user}","gists_url":"https://api.github.com/users/shamasis/gists{/gist_id}","starred_url":"https://api.github.com/users/shamasis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shamasis/subscriptions","organizations_url":"https://api.github.com/users/shamasis/orgs","repos_url":"https://api.github.com/users/shamasis/repos","events_url":"https://api.github.com/users/shamasis/events{/privacy}","received_events_url":"https://api.github.com/users/shamasis/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":96,"deletions":47,"changed_files":4}}