{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1","id":70449604,"html_url":"https://github.com/Areson/StackExchange.Redis/pull/1","diff_url":"https://github.com/Areson/StackExchange.Redis/pull/1.diff","patch_url":"https://github.com/Areson/StackExchange.Redis/pull/1.patch","issue_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/1","number":1,"state":"open","locked":false,"title":"Sentinel Support","user":{"login":"Areson","id":1489856,"avatar_url":"https://avatars.githubusercontent.com/u/1489856?v=3","gravatar_id":"","url":"https://api.github.com/users/Areson","html_url":"https://github.com/Areson","followers_url":"https://api.github.com/users/Areson/followers","following_url":"https://api.github.com/users/Areson/following{/other_user}","gists_url":"https://api.github.com/users/Areson/gists{/gist_id}","starred_url":"https://api.github.com/users/Areson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areson/subscriptions","organizations_url":"https://api.github.com/users/Areson/orgs","repos_url":"https://api.github.com/users/Areson/repos","events_url":"https://api.github.com/users/Areson/events{/privacy}","received_events_url":"https://api.github.com/users/Areson/received_events","type":"User","site_admin":false},"body":"Initial pass at adding Sentinel support to the ConnectionMultiplexer. Usage:\r\n```C#\r\nConfigurationOptions sentinelConfig = new ConfigurationOptions();\r\nsentinelConfig.ServiceName = \"ServiceNameValue\";\r\nsentinelConfig.EndPoints.Add(\"127.0.0.1\", 26379);\r\nsentinelConfig.EndPoints.Add(\"127.0.0.2\", 26379);\r\nsentinelConfig.EndPoints.Add(\"127.0.0.4\", 26379);\r\nsentinelConfig.TieBreaker = \"\";\r\nsentinelConfig.DefaultVersion = new Version(3, 0);\r\n\r\n// Add the configuration for the masters that we will connect to\r\nConfigurationOptions masterConfig = new ConfigurationOptions();\r\nsentinelConfig.SentinelMasterConfignfigurationOptions = masterConfig;\r\n\r\n// Connect!\r\nConnectionMultiplexer sentinelConnection = ConnectionMultiplexer.Connect(sentinelConfig);\r\n\r\n// When we need to perform a command against the masters, use the master\r\nconnection\r\nConnectionMultiplexer masterConnection = sentinelConnection.SentinelMasterConnection;\r\n```\r\n\r\nPulled the initial code from PR #121 and updated to fit into the latest version. Added support for handling various reconnect scenarios, as outlined in the client documentation at http://redis.io/topics/sentinel-clients, even if the client misses the \"change master\" event from the Sentinel servers. Also added support updating the connection's list of Sentinel nodes as they are added after the connection has been started.","created_at":"2016-05-17T23:49:59Z","updated_at":"2016-05-17T23:49:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/1/comments","statuses_url":"https://api.github.com/repos/Areson/StackExchange.Redis/statuses/abe6af2debe16952c629d93d892c249c40c9a7ae","head":{"label":"Areson:feature/sentinel","ref":"feature/sentinel","sha":"abe6af2debe16952c629d93d892c249c40c9a7ae","user":{"login":"Areson","id":1489856,"avatar_url":"https://avatars.githubusercontent.com/u/1489856?v=3","gravatar_id":"","url":"https://api.github.com/users/Areson","html_url":"https://github.com/Areson","followers_url":"https://api.github.com/users/Areson/followers","following_url":"https://api.github.com/users/Areson/following{/other_user}","gists_url":"https://api.github.com/users/Areson/gists{/gist_id}","starred_url":"https://api.github.com/users/Areson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areson/subscriptions","organizations_url":"https://api.github.com/users/Areson/orgs","repos_url":"https://api.github.com/users/Areson/repos","events_url":"https://api.github.com/users/Areson/events{/privacy}","received_events_url":"https://api.github.com/users/Areson/received_events","type":"User","site_admin":false},"repo":{"id":58576408,"name":"StackExchange.Redis","full_name":"Areson/StackExchange.Redis","owner":{"login":"Areson","id":1489856,"avatar_url":"https://avatars.githubusercontent.com/u/1489856?v=3","gravatar_id":"","url":"https://api.github.com/users/Areson","html_url":"https://github.com/Areson","followers_url":"https://api.github.com/users/Areson/followers","following_url":"https://api.github.com/users/Areson/following{/other_user}","gists_url":"https://api.github.com/users/Areson/gists{/gist_id}","starred_url":"https://api.github.com/users/Areson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areson/subscriptions","organizations_url":"https://api.github.com/users/Areson/orgs","repos_url":"https://api.github.com/users/Areson/repos","events_url":"https://api.github.com/users/Areson/events{/privacy}","received_events_url":"https://api.github.com/users/Areson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Areson/StackExchange.Redis","description":"General purpose redis client","fork":true,"url":"https://api.github.com/repos/Areson/StackExchange.Redis","forks_url":"https://api.github.com/repos/Areson/StackExchange.Redis/forks","keys_url":"https://api.github.com/repos/Areson/StackExchange.Redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Areson/StackExchange.Redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Areson/StackExchange.Redis/teams","hooks_url":"https://api.github.com/repos/Areson/StackExchange.Redis/hooks","issue_events_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/events{/number}","events_url":"https://api.github.com/repos/Areson/StackExchange.Redis/events","assignees_url":"https://api.github.com/repos/Areson/StackExchange.Redis/assignees{/user}","branches_url":"https://api.github.com/repos/Areson/StackExchange.Redis/branches{/branch}","tags_url":"https://api.github.com/repos/Areson/StackExchange.Redis/tags","blobs_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Areson/StackExchange.Redis/statuses/{sha}","languages_url":"https://api.github.com/repos/Areson/StackExchange.Redis/languages","stargazers_url":"https://api.github.com/repos/Areson/StackExchange.Redis/stargazers","contributors_url":"https://api.github.com/repos/Areson/StackExchange.Redis/contributors","subscribers_url":"https://api.github.com/repos/Areson/StackExchange.Redis/subscribers","subscription_url":"https://api.github.com/repos/Areson/StackExchange.Redis/subscription","commits_url":"https://api.github.com/repos/Areson/StackExchange.Redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Areson/StackExchange.Redis/contents/{+path}","compare_url":"https://api.github.com/repos/Areson/StackExchange.Redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Areson/StackExchange.Redis/merges","archive_url":"https://api.github.com/repos/Areson/StackExchange.Redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Areson/StackExchange.Redis/downloads","issues_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues{/number}","pulls_url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls{/number}","milestones_url":"https://api.github.com/repos/Areson/StackExchange.Redis/milestones{/number}","notifications_url":"https://api.github.com/repos/Areson/StackExchange.Redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Areson/StackExchange.Redis/labels{/name}","releases_url":"https://api.github.com/repos/Areson/StackExchange.Redis/releases{/id}","deployments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/deployments","created_at":"2016-05-11T19:57:28Z","updated_at":"2016-05-11T19:57:29Z","pushed_at":"2016-05-17T23:39:50Z","git_url":"git://github.com/Areson/StackExchange.Redis.git","ssh_url":"git@github.com:Areson/StackExchange.Redis.git","clone_url":"https://github.com/Areson/StackExchange.Redis.git","svn_url":"https://github.com/Areson/StackExchange.Redis","homepage":null,"size":9678,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Areson:master","ref":"master","sha":"e116defc096a6f5af48ec36b2afc816be2436895","user":{"login":"Areson","id":1489856,"avatar_url":"https://avatars.githubusercontent.com/u/1489856?v=3","gravatar_id":"","url":"https://api.github.com/users/Areson","html_url":"https://github.com/Areson","followers_url":"https://api.github.com/users/Areson/followers","following_url":"https://api.github.com/users/Areson/following{/other_user}","gists_url":"https://api.github.com/users/Areson/gists{/gist_id}","starred_url":"https://api.github.com/users/Areson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areson/subscriptions","organizations_url":"https://api.github.com/users/Areson/orgs","repos_url":"https://api.github.com/users/Areson/repos","events_url":"https://api.github.com/users/Areson/events{/privacy}","received_events_url":"https://api.github.com/users/Areson/received_events","type":"User","site_admin":false},"repo":{"id":58576408,"name":"StackExchange.Redis","full_name":"Areson/StackExchange.Redis","owner":{"login":"Areson","id":1489856,"avatar_url":"https://avatars.githubusercontent.com/u/1489856?v=3","gravatar_id":"","url":"https://api.github.com/users/Areson","html_url":"https://github.com/Areson","followers_url":"https://api.github.com/users/Areson/followers","following_url":"https://api.github.com/users/Areson/following{/other_user}","gists_url":"https://api.github.com/users/Areson/gists{/gist_id}","starred_url":"https://api.github.com/users/Areson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Areson/subscriptions","organizations_url":"https://api.github.com/users/Areson/orgs","repos_url":"https://api.github.com/users/Areson/repos","events_url":"https://api.github.com/users/Areson/events{/privacy}","received_events_url":"https://api.github.com/users/Areson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Areson/StackExchange.Redis","description":"General purpose redis client","fork":true,"url":"https://api.github.com/repos/Areson/StackExchange.Redis","forks_url":"https://api.github.com/repos/Areson/StackExchange.Redis/forks","keys_url":"https://api.github.com/repos/Areson/StackExchange.Redis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Areson/StackExchange.Redis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Areson/StackExchange.Redis/teams","hooks_url":"https://api.github.com/repos/Areson/StackExchange.Redis/hooks","issue_events_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/events{/number}","events_url":"https://api.github.com/repos/Areson/StackExchange.Redis/events","assignees_url":"https://api.github.com/repos/Areson/StackExchange.Redis/assignees{/user}","branches_url":"https://api.github.com/repos/Areson/StackExchange.Redis/branches{/branch}","tags_url":"https://api.github.com/repos/Areson/StackExchange.Redis/tags","blobs_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/refs{/sha}","trees_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Areson/StackExchange.Redis/statuses/{sha}","languages_url":"https://api.github.com/repos/Areson/StackExchange.Redis/languages","stargazers_url":"https://api.github.com/repos/Areson/StackExchange.Redis/stargazers","contributors_url":"https://api.github.com/repos/Areson/StackExchange.Redis/contributors","subscribers_url":"https://api.github.com/repos/Areson/StackExchange.Redis/subscribers","subscription_url":"https://api.github.com/repos/Areson/StackExchange.Redis/subscription","commits_url":"https://api.github.com/repos/Areson/StackExchange.Redis/commits{/sha}","git_commits_url":"https://api.github.com/repos/Areson/StackExchange.Redis/git/commits{/sha}","comments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/comments{/number}","issue_comment_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/comments{/number}","contents_url":"https://api.github.com/repos/Areson/StackExchange.Redis/contents/{+path}","compare_url":"https://api.github.com/repos/Areson/StackExchange.Redis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Areson/StackExchange.Redis/merges","archive_url":"https://api.github.com/repos/Areson/StackExchange.Redis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Areson/StackExchange.Redis/downloads","issues_url":"https://api.github.com/repos/Areson/StackExchange.Redis/issues{/number}","pulls_url":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls{/number}","milestones_url":"https://api.github.com/repos/Areson/StackExchange.Redis/milestones{/number}","notifications_url":"https://api.github.com/repos/Areson/StackExchange.Redis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Areson/StackExchange.Redis/labels{/name}","releases_url":"https://api.github.com/repos/Areson/StackExchange.Redis/releases{/id}","deployments_url":"https://api.github.com/repos/Areson/StackExchange.Redis/deployments","created_at":"2016-05-11T19:57:28Z","updated_at":"2016-05-11T19:57:29Z","pushed_at":"2016-05-17T23:39:50Z","git_url":"git://github.com/Areson/StackExchange.Redis.git","ssh_url":"git@github.com:Areson/StackExchange.Redis.git","clone_url":"https://github.com/Areson/StackExchange.Redis.git","svn_url":"https://github.com/Areson/StackExchange.Redis","homepage":null,"size":9678,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1"},"html":{"href":"https://github.com/Areson/StackExchange.Redis/pull/1"},"issue":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/1"},"comments":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Areson/StackExchange.Redis/statuses/abe6af2debe16952c629d93d892c249c40c9a7ae"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":370,"deletions":14,"changed_files":6}}