{"action":"created","issue":{"url":"https://api.github.com/repos/basho/riak_kv/issues/1583","repository_url":"https://api.github.com/repos/basho/riak_kv","labels_url":"https://api.github.com/repos/basho/riak_kv/issues/1583/labels{/name}","comments_url":"https://api.github.com/repos/basho/riak_kv/issues/1583/comments","events_url":"https://api.github.com/repos/basho/riak_kv/issues/1583/events","html_url":"https://github.com/basho/riak_kv/pull/1583","id":196950651,"number":1583,"title":"Use the correct key to get the configured max quanta value","user":{"login":"andytill","id":213455,"avatar_url":"https://avatars.githubusercontent.com/u/213455?v=3","gravatar_id":"","url":"https://api.github.com/users/andytill","html_url":"https://github.com/andytill","followers_url":"https://api.github.com/users/andytill/followers","following_url":"https://api.github.com/users/andytill/following{/other_user}","gists_url":"https://api.github.com/users/andytill/gists{/gist_id}","starred_url":"https://api.github.com/users/andytill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andytill/subscriptions","organizations_url":"https://api.github.com/users/andytill/orgs","repos_url":"https://api.github.com/users/andytill/repos","events_url":"https://api.github.com/users/andytill/events{/privacy}","received_events_url":"https://api.github.com/users/andytill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-21T14:49:20Z","updated_at":"2016-12-21T14:49:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/basho/riak_kv/pulls/1583","html_url":"https://github.com/basho/riak_kv/pull/1583","diff_url":"https://github.com/basho/riak_kv/pull/1583.diff","patch_url":"https://github.com/basho/riak_kv/pull/1583.patch"},"body":"The call to get the max quanta value was using the wrong key, so always defaulting to 1000. This PR fixes the call to use the correct key and get the configured value, from the shell:\r\n\r\n```sql\r\nriak-shell(33)>SELECT * FROM WeatherStationData WHERE StationId = 'Station-1001' AND ReadingTimeStamp > 0 AND ReadingTimeStamp < 100000000000000000;;\r\nError (1025): Query spans too many quanta (1157407407, max 5000\r\n```"},"comment":{"url":"https://api.github.com/repos/basho/riak_kv/issues/comments/268540705","html_url":"https://github.com/basho/riak_kv/pull/1583#issuecomment-268540705","issue_url":"https://api.github.com/repos/basho/riak_kv/issues/1583","id":268540705,"user":{"login":"thumbot","id":20921557,"avatar_url":"https://avatars.githubusercontent.com/u/20921557?v=3","gravatar_id":"","url":"https://api.github.com/users/thumbot","html_url":"https://github.com/thumbot","followers_url":"https://api.github.com/users/thumbot/followers","following_url":"https://api.github.com/users/thumbot/following{/other_user}","gists_url":"https://api.github.com/users/thumbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thumbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thumbot/subscriptions","organizations_url":"https://api.github.com/users/thumbot/orgs","repos_url":"https://api.github.com/users/thumbot/repos","events_url":"https://api.github.com/users/thumbot/events{/privacy}","received_events_url":"https://api.github.com/users/thumbot/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T14:49:25Z","updated_at":"2016-12-21T14:49:25Z","body":"Thanks @andytill!\n<details><Summary>Settings</Summary>\n\n```yaml \n---\nminimum_reviewers: 2\nmerge: true\nbuild_steps:\n- make clean\n- make deps\n- make compile\n- make test\n- make xref\n- make dialyzer\norg_mode: true\ntimeout: 1800\n ```\n\n</details>\n        \n"}}
{"actor":{"display_login":"thumbot"}}