{"action":"created","issue":{"url":"https://api.github.com/repos/influxdb/influxdb-java/issues/125","labels_url":"https://api.github.com/repos/influxdb/influxdb-java/issues/125/labels{/name}","comments_url":"https://api.github.com/repos/influxdb/influxdb-java/issues/125/comments","events_url":"https://api.github.com/repos/influxdb/influxdb-java/issues/125/events","html_url":"https://github.com/influxdb/influxdb-java/issues/125","id":119861233,"number":125,"title":"Retention policy not working","user":{"login":"letitcrash","id":4032289,"avatar_url":"https://avatars.githubusercontent.com/u/4032289?v=3","gravatar_id":"","url":"https://api.github.com/users/letitcrash","html_url":"https://github.com/letitcrash","followers_url":"https://api.github.com/users/letitcrash/followers","following_url":"https://api.github.com/users/letitcrash/following{/other_user}","gists_url":"https://api.github.com/users/letitcrash/gists{/gist_id}","starred_url":"https://api.github.com/users/letitcrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/letitcrash/subscriptions","organizations_url":"https://api.github.com/users/letitcrash/orgs","repos_url":"https://api.github.com/users/letitcrash/repos","events_url":"https://api.github.com/users/letitcrash/events{/privacy}","received_events_url":"https://api.github.com/users/letitcrash/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-02T03:44:37Z","updated_at":"2015-12-02T05:13:17Z","closed_at":null,"body":"I am using infludb-java version 2.0-SNAPSHOT and I am facing issues with the retention policy. \r\nI created the retention policies through the UI, for eg: one_year, one_month etc..\r\nWhen I try writing to the DB I see two issues\r\n1) The data does not get written to the DB (select * from <measurement>) returns ZERO records and my client does not throw any error or any exception.\r\n2) When I set the retention policy to a different one it suddenly starts working BUT it creates a new problem, my queries start to fail. "},"comment":{"url":"https://api.github.com/repos/influxdb/influxdb-java/issues/comments/161184245","html_url":"https://github.com/influxdb/influxdb-java/issues/125#issuecomment-161184245","issue_url":"https://api.github.com/repos/influxdb/influxdb-java/issues/125","id":161184245,"user":{"login":"majst01","id":410110,"avatar_url":"https://avatars.githubusercontent.com/u/410110?v=3","gravatar_id":"","url":"https://api.github.com/users/majst01","html_url":"https://github.com/majst01","followers_url":"https://api.github.com/users/majst01/followers","following_url":"https://api.github.com/users/majst01/following{/other_user}","gists_url":"https://api.github.com/users/majst01/gists{/gist_id}","starred_url":"https://api.github.com/users/majst01/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/majst01/subscriptions","organizations_url":"https://api.github.com/users/majst01/orgs","repos_url":"https://api.github.com/users/majst01/repos","events_url":"https://api.github.com/users/majst01/events{/privacy}","received_events_url":"https://api.github.com/users/majst01/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T05:13:17Z","updated_at":"2015-12-02T05:13:17Z","body":"Hi @letitcrash \r\n\r\nplease try to use 2.0 (without SNAPSHOT) which is available from maven-central and try to reproduce.\r\n\r\nGreetings"}}