{"action":"opened","number":869,"pull_request":{"url":"https://api.github.com/repos/redisson/redisson/pulls/869","id":118012381,"html_url":"https://github.com/redisson/redisson/pull/869","diff_url":"https://github.com/redisson/redisson/pull/869.diff","patch_url":"https://github.com/redisson/redisson/pull/869.patch","issue_url":"https://api.github.com/repos/redisson/redisson/issues/869","number":869,"state":"open","locked":false,"title":"Support STORE parameter for GEORADIUS and GEORADIUSBYMEMBER","user":{"login":"coryshrmn","id":1856203,"avatar_url":"https://avatars1.githubusercontent.com/u/1856203?v=3","gravatar_id":"","url":"https://api.github.com/users/coryshrmn","html_url":"https://github.com/coryshrmn","followers_url":"https://api.github.com/users/coryshrmn/followers","following_url":"https://api.github.com/users/coryshrmn/following{/other_user}","gists_url":"https://api.github.com/users/coryshrmn/gists{/gist_id}","starred_url":"https://api.github.com/users/coryshrmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryshrmn/subscriptions","organizations_url":"https://api.github.com/users/coryshrmn/orgs","repos_url":"https://api.github.com/users/coryshrmn/repos","events_url":"https://api.github.com/users/coryshrmn/events{/privacy}","received_events_url":"https://api.github.com/users/coryshrmn/received_events","type":"User","site_admin":false},"body":"See issue #855\r\n\r\nThis code mostly works, but there is a strange issue with empty results. When the result is empty (no members within this radius), the query times out instead of returning 0. I might have misused the Command or Codec?\r\n\r\nHopefully someone more familiar with Redisson internals can help.\r\n\r\nFailed Tests:\r\n```\r\n1. RedissonGeoTest.testRadiusStoreMemberEmpty\r\n    org.redisson.client.RedisTimeoutException: Redis server response timeout (3000 ms) occured for command: (GEORADIUSBYMEMBER) with params: [test, Palermo, 200.0, km, STORE, test-store]\r\n        at org.redisson.command.CommandAsyncService$10.run(CommandAsyncService.java:646)\r\n    ...\r\n\r\n2. RedissonGeoTest.testRadiusStoreEmpty\r\n    org.redisson.client.RedisTimeoutException: Redis server response timeout (3000 ms) occured for command: (GEORADIUS) with params: [test, 15.0, 37.0, 200.0, km, STORE, test-store]\r\n        at org.redisson.command.CommandAsyncService$10.run(CommandAsyncService.java:646)\r\n    ...\r\n```","created_at":"2017-04-27T19:19:03Z","updated_at":"2017-04-27T19:19:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/redisson/redisson/pulls/869/commits","review_comments_url":"https://api.github.com/repos/redisson/redisson/pulls/869/comments","review_comment_url":"https://api.github.com/repos/redisson/redisson/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redisson/redisson/issues/869/comments","statuses_url":"https://api.github.com/repos/redisson/redisson/statuses/cbb485cb0bbba29ce279d4937ced7670a5d2efb9","head":{"label":"coryshrmn:feature/georadius-store","ref":"feature/georadius-store","sha":"cbb485cb0bbba29ce279d4937ced7670a5d2efb9","user":{"login":"coryshrmn","id":1856203,"avatar_url":"https://avatars1.githubusercontent.com/u/1856203?v=3","gravatar_id":"","url":"https://api.github.com/users/coryshrmn","html_url":"https://github.com/coryshrmn","followers_url":"https://api.github.com/users/coryshrmn/followers","following_url":"https://api.github.com/users/coryshrmn/following{/other_user}","gists_url":"https://api.github.com/users/coryshrmn/gists{/gist_id}","starred_url":"https://api.github.com/users/coryshrmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryshrmn/subscriptions","organizations_url":"https://api.github.com/users/coryshrmn/orgs","repos_url":"https://api.github.com/users/coryshrmn/repos","events_url":"https://api.github.com/users/coryshrmn/events{/privacy}","received_events_url":"https://api.github.com/users/coryshrmn/received_events","type":"User","site_admin":false},"repo":{"id":85247813,"name":"redisson","full_name":"coryshrmn/redisson","owner":{"login":"coryshrmn","id":1856203,"avatar_url":"https://avatars1.githubusercontent.com/u/1856203?v=3","gravatar_id":"","url":"https://api.github.com/users/coryshrmn","html_url":"https://github.com/coryshrmn","followers_url":"https://api.github.com/users/coryshrmn/followers","following_url":"https://api.github.com/users/coryshrmn/following{/other_user}","gists_url":"https://api.github.com/users/coryshrmn/gists{/gist_id}","starred_url":"https://api.github.com/users/coryshrmn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coryshrmn/subscriptions","organizations_url":"https://api.github.com/users/coryshrmn/orgs","repos_url":"https://api.github.com/users/coryshrmn/repos","events_url":"https://api.github.com/users/coryshrmn/events{/privacy}","received_events_url":"https://api.github.com/users/coryshrmn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/coryshrmn/redisson","description":"Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, CountDownLatch, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server.","fork":true,"url":"https://api.github.com/repos/coryshrmn/redisson","forks_url":"https://api.github.com/repos/coryshrmn/redisson/forks","keys_url":"https://api.github.com/repos/coryshrmn/redisson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coryshrmn/redisson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coryshrmn/redisson/teams","hooks_url":"https://api.github.com/repos/coryshrmn/redisson/hooks","issue_events_url":"https://api.github.com/repos/coryshrmn/redisson/issues/events{/number}","events_url":"https://api.github.com/repos/coryshrmn/redisson/events","assignees_url":"https://api.github.com/repos/coryshrmn/redisson/assignees{/user}","branches_url":"https://api.github.com/repos/coryshrmn/redisson/branches{/branch}","tags_url":"https://api.github.com/repos/coryshrmn/redisson/tags","blobs_url":"https://api.github.com/repos/coryshrmn/redisson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coryshrmn/redisson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coryshrmn/redisson/git/refs{/sha}","trees_url":"https://api.github.com/repos/coryshrmn/redisson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coryshrmn/redisson/statuses/{sha}","languages_url":"https://api.github.com/repos/coryshrmn/redisson/languages","stargazers_url":"https://api.github.com/repos/coryshrmn/redisson/stargazers","contributors_url":"https://api.github.com/repos/coryshrmn/redisson/contributors","subscribers_url":"https://api.github.com/repos/coryshrmn/redisson/subscribers","subscription_url":"https://api.github.com/repos/coryshrmn/redisson/subscription","commits_url":"https://api.github.com/repos/coryshrmn/redisson/commits{/sha}","git_commits_url":"https://api.github.com/repos/coryshrmn/redisson/git/commits{/sha}","comments_url":"https://api.github.com/repos/coryshrmn/redisson/comments{/number}","issue_comment_url":"https://api.github.com/repos/coryshrmn/redisson/issues/comments{/number}","contents_url":"https://api.github.com/repos/coryshrmn/redisson/contents/{+path}","compare_url":"https://api.github.com/repos/coryshrmn/redisson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coryshrmn/redisson/merges","archive_url":"https://api.github.com/repos/coryshrmn/redisson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coryshrmn/redisson/downloads","issues_url":"https://api.github.com/repos/coryshrmn/redisson/issues{/number}","pulls_url":"https://api.github.com/repos/coryshrmn/redisson/pulls{/number}","milestones_url":"https://api.github.com/repos/coryshrmn/redisson/milestones{/number}","notifications_url":"https://api.github.com/repos/coryshrmn/redisson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coryshrmn/redisson/labels{/name}","releases_url":"https://api.github.com/repos/coryshrmn/redisson/releases{/id}","deployments_url":"https://api.github.com/repos/coryshrmn/redisson/deployments","created_at":"2017-03-16T22:39:21Z","updated_at":"2017-03-16T22:39:25Z","pushed_at":"2017-04-27T19:11:46Z","git_url":"git://github.com/coryshrmn/redisson.git","ssh_url":"git@github.com:coryshrmn/redisson.git","clone_url":"https://github.com/coryshrmn/redisson.git","svn_url":"https://github.com/coryshrmn/redisson","homepage":"https://redisson.org","size":6302,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"redisson:master","ref":"master","sha":"35153462b07c3681ddc325fa6c599d7abd0330b9","user":{"login":"redisson","id":16851431,"avatar_url":"https://avatars3.githubusercontent.com/u/16851431?v=3","gravatar_id":"","url":"https://api.github.com/users/redisson","html_url":"https://github.com/redisson","followers_url":"https://api.github.com/users/redisson/followers","following_url":"https://api.github.com/users/redisson/following{/other_user}","gists_url":"https://api.github.com/users/redisson/gists{/gist_id}","starred_url":"https://api.github.com/users/redisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redisson/subscriptions","organizations_url":"https://api.github.com/users/redisson/orgs","repos_url":"https://api.github.com/users/redisson/repos","events_url":"https://api.github.com/users/redisson/events{/privacy}","received_events_url":"https://api.github.com/users/redisson/received_events","type":"Organization","site_admin":false},"repo":{"id":15823460,"name":"redisson","full_name":"redisson/redisson","owner":{"login":"redisson","id":16851431,"avatar_url":"https://avatars3.githubusercontent.com/u/16851431?v=3","gravatar_id":"","url":"https://api.github.com/users/redisson","html_url":"https://github.com/redisson","followers_url":"https://api.github.com/users/redisson/followers","following_url":"https://api.github.com/users/redisson/following{/other_user}","gists_url":"https://api.github.com/users/redisson/gists{/gist_id}","starred_url":"https://api.github.com/users/redisson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redisson/subscriptions","organizations_url":"https://api.github.com/users/redisson/orgs","repos_url":"https://api.github.com/users/redisson/repos","events_url":"https://api.github.com/users/redisson/events{/privacy}","received_events_url":"https://api.github.com/users/redisson/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redisson/redisson","description":"Redisson - distributed Java objects and services (Set, Multimap, SortedSet, Map, List, Queue, BlockingQueue, Deque, BlockingDeque, Semaphore, Lock, AtomicLong, CountDownLatch, Publish / Subscribe, Bloom filter, Spring Cache, Executor service, Tomcat Session Manager, Scheduler service, JCache API) on top of Redis server.","fork":false,"url":"https://api.github.com/repos/redisson/redisson","forks_url":"https://api.github.com/repos/redisson/redisson/forks","keys_url":"https://api.github.com/repos/redisson/redisson/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redisson/redisson/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redisson/redisson/teams","hooks_url":"https://api.github.com/repos/redisson/redisson/hooks","issue_events_url":"https://api.github.com/repos/redisson/redisson/issues/events{/number}","events_url":"https://api.github.com/repos/redisson/redisson/events","assignees_url":"https://api.github.com/repos/redisson/redisson/assignees{/user}","branches_url":"https://api.github.com/repos/redisson/redisson/branches{/branch}","tags_url":"https://api.github.com/repos/redisson/redisson/tags","blobs_url":"https://api.github.com/repos/redisson/redisson/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redisson/redisson/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redisson/redisson/git/refs{/sha}","trees_url":"https://api.github.com/repos/redisson/redisson/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redisson/redisson/statuses/{sha}","languages_url":"https://api.github.com/repos/redisson/redisson/languages","stargazers_url":"https://api.github.com/repos/redisson/redisson/stargazers","contributors_url":"https://api.github.com/repos/redisson/redisson/contributors","subscribers_url":"https://api.github.com/repos/redisson/redisson/subscribers","subscription_url":"https://api.github.com/repos/redisson/redisson/subscription","commits_url":"https://api.github.com/repos/redisson/redisson/commits{/sha}","git_commits_url":"https://api.github.com/repos/redisson/redisson/git/commits{/sha}","comments_url":"https://api.github.com/repos/redisson/redisson/comments{/number}","issue_comment_url":"https://api.github.com/repos/redisson/redisson/issues/comments{/number}","contents_url":"https://api.github.com/repos/redisson/redisson/contents/{+path}","compare_url":"https://api.github.com/repos/redisson/redisson/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redisson/redisson/merges","archive_url":"https://api.github.com/repos/redisson/redisson/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redisson/redisson/downloads","issues_url":"https://api.github.com/repos/redisson/redisson/issues{/number}","pulls_url":"https://api.github.com/repos/redisson/redisson/pulls{/number}","milestones_url":"https://api.github.com/repos/redisson/redisson/milestones{/number}","notifications_url":"https://api.github.com/repos/redisson/redisson/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redisson/redisson/labels{/name}","releases_url":"https://api.github.com/repos/redisson/redisson/releases{/id}","deployments_url":"https://api.github.com/repos/redisson/redisson/deployments","created_at":"2014-01-11T14:06:25Z","updated_at":"2017-04-27T11:26:30Z","pushed_at":"2017-04-27T15:26:03Z","git_url":"git://github.com/redisson/redisson.git","ssh_url":"git@github.com:redisson/redisson.git","clone_url":"https://github.com/redisson/redisson.git","svn_url":"https://github.com/redisson/redisson","homepage":"https://redisson.org","size":6392,"stargazers_count":2503,"watchers_count":2503,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":789,"mirror_url":null,"open_issues_count":74,"forks":789,"open_issues":74,"watchers":2503,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redisson/redisson/pulls/869"},"html":{"href":"https://github.com/redisson/redisson/pull/869"},"issue":{"href":"https://api.github.com/repos/redisson/redisson/issues/869"},"comments":{"href":"https://api.github.com/repos/redisson/redisson/issues/869/comments"},"review_comments":{"href":"https://api.github.com/repos/redisson/redisson/pulls/869/comments"},"review_comment":{"href":"https://api.github.com/repos/redisson/redisson/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redisson/redisson/pulls/869/commits"},"statuses":{"href":"https://api.github.com/repos/redisson/redisson/statuses/cbb485cb0bbba29ce279d4937ced7670a5d2efb9"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":6,"additions":366,"deletions":3,"changed_files":6}}
{"actor":{"display_login":"coryshrmn"}}