{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7301","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7301/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7301/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7301/events","html_url":"https://github.com/hazelcast/hazelcast/pull/7301","id":126201043,"number":7301,"title":"Fix cache record creation with expiry time","user":{"login":"mdogan","id":1201712,"avatar_url":"https://avatars.githubusercontent.com/u/1201712?v=3","gravatar_id":"","url":"https://api.github.com/users/mdogan","html_url":"https://github.com/mdogan","followers_url":"https://api.github.com/users/mdogan/followers","following_url":"https://api.github.com/users/mdogan/following{/other_user}","gists_url":"https://api.github.com/users/mdogan/gists{/gist_id}","starred_url":"https://api.github.com/users/mdogan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdogan/subscriptions","organizations_url":"https://api.github.com/users/mdogan/orgs","repos_url":"https://api.github.com/users/mdogan/repos","events_url":"https://api.github.com/users/mdogan/events{/privacy}","received_events_url":"https://api.github.com/users/mdogan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Integration","name":"Team: Integration","color":"fef2c0"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Type:%20Defect","name":"Type: Defect","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.6","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/61/labels","id":982584,"number":61,"title":"3.6","description":"","creator":{"login":"enesakar","id":234086,"avatar_url":"https://avatars.githubusercontent.com/u/234086?v=3","gravatar_id":"","url":"https://api.github.com/users/enesakar","html_url":"https://github.com/enesakar","followers_url":"https://api.github.com/users/enesakar/followers","following_url":"https://api.github.com/users/enesakar/following{/other_user}","gists_url":"https://api.github.com/users/enesakar/gists{/gist_id}","starred_url":"https://api.github.com/users/enesakar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/enesakar/subscriptions","organizations_url":"https://api.github.com/users/enesakar/orgs","repos_url":"https://api.github.com/users/enesakar/repos","events_url":"https://api.github.com/users/enesakar/events{/privacy}","received_events_url":"https://api.github.com/users/enesakar/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1264,"state":"open","created_at":"2015-02-17T09:27:09Z","updated_at":"2016-01-12T15:14:46Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-01-12T15:14:46Z","updated_at":"2016-01-12T17:19:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast/pulls/7301","html_url":"https://github.com/hazelcast/hazelcast/pull/7301","diff_url":"https://github.com/hazelcast/hazelcast/pull/7301.diff","patch_url":"https://github.com/hazelcast/hazelcast/pull/7301.patch"},"body":"Cache record should be created using already available `now` time,\r\ninstead of `System.currentMillis()`. Because expiry time is calculated\r\nand relative to `now`.\r\nOtherwise, when System.currentMillis() is used and TTL is very small,\r\ndifference between  expiry time and creation time can be less than 0,\r\nwhich leads to no expiry at all.\r\n\r\nFixes https://github.com/hazelcast/hazelcast-enterprise/issues/679"},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/comments/170980591","html_url":"https://github.com/hazelcast/hazelcast/pull/7301#issuecomment-170980591","issue_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/7301","id":170980591,"user":{"login":"serkan-ozal","id":3143425,"avatar_url":"https://avatars.githubusercontent.com/u/3143425?v=3","gravatar_id":"","url":"https://api.github.com/users/serkan-ozal","html_url":"https://github.com/serkan-ozal","followers_url":"https://api.github.com/users/serkan-ozal/followers","following_url":"https://api.github.com/users/serkan-ozal/following{/other_user}","gists_url":"https://api.github.com/users/serkan-ozal/gists{/gist_id}","starred_url":"https://api.github.com/users/serkan-ozal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/serkan-ozal/subscriptions","organizations_url":"https://api.github.com/users/serkan-ozal/orgs","repos_url":"https://api.github.com/users/serkan-ozal/repos","events_url":"https://api.github.com/users/serkan-ozal/events{/privacy}","received_events_url":"https://api.github.com/users/serkan-ozal/received_events","type":"User","site_admin":false},"created_at":"2016-01-12T17:19:23Z","updated_at":"2016-01-12T17:19:23Z","body":"This is trivial fix. I am merging this one myself"}}