{"action":"created","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/29","repository_url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate","labels_url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/29/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/29/events","html_url":"https://github.com/hazelcast/hazelcast-hibernate/pull/29","id":195255375,"number":29,"title":"Fixes #28 - use clusterTime instead of system time","user":{"login":"benlamonica","id":124248,"avatar_url":"https://avatars.githubusercontent.com/u/124248?v=3","gravatar_id":"","url":"https://api.github.com/users/benlamonica","html_url":"https://github.com/benlamonica","followers_url":"https://api.github.com/users/benlamonica/followers","following_url":"https://api.github.com/users/benlamonica/following{/other_user}","gists_url":"https://api.github.com/users/benlamonica/gists{/gist_id}","starred_url":"https://api.github.com/users/benlamonica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlamonica/subscriptions","organizations_url":"https://api.github.com/users/benlamonica/orgs","repos_url":"https://api.github.com/users/benlamonica/repos","events_url":"https://api.github.com/users/benlamonica/events{/privacy}","received_events_url":"https://api.github.com/users/benlamonica/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"emre-aydin","id":719018,"avatar_url":"https://avatars.githubusercontent.com/u/719018?v=3","gravatar_id":"","url":"https://api.github.com/users/emre-aydin","html_url":"https://github.com/emre-aydin","followers_url":"https://api.github.com/users/emre-aydin/followers","following_url":"https://api.github.com/users/emre-aydin/following{/other_user}","gists_url":"https://api.github.com/users/emre-aydin/gists{/gist_id}","starred_url":"https://api.github.com/users/emre-aydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emre-aydin/subscriptions","organizations_url":"https://api.github.com/users/emre-aydin/orgs","repos_url":"https://api.github.com/users/emre-aydin/repos","events_url":"https://api.github.com/users/emre-aydin/events{/privacy}","received_events_url":"https://api.github.com/users/emre-aydin/received_events","type":"User","site_admin":false},"assignees":[{"login":"emre-aydin","id":719018,"avatar_url":"https://avatars.githubusercontent.com/u/719018?v=3","gravatar_id":"","url":"https://api.github.com/users/emre-aydin","html_url":"https://github.com/emre-aydin","followers_url":"https://api.github.com/users/emre-aydin/followers","following_url":"https://api.github.com/users/emre-aydin/following{/other_user}","gists_url":"https://api.github.com/users/emre-aydin/gists{/gist_id}","starred_url":"https://api.github.com/users/emre-aydin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emre-aydin/subscriptions","organizations_url":"https://api.github.com/users/emre-aydin/orgs","repos_url":"https://api.github.com/users/emre-aydin/repos","events_url":"https://api.github.com/users/emre-aydin/events{/privacy}","received_events_url":"https://api.github.com/users/emre-aydin/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-12-13T13:39:38Z","updated_at":"2016-12-14T14:34:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/pulls/29","html_url":"https://github.com/hazelcast/hazelcast-hibernate/pull/29","diff_url":"https://github.com/hazelcast/hazelcast-hibernate/pull/29.diff","patch_url":"https://github.com/hazelcast/hazelcast-hibernate/pull/29.patch"},"body":"There were 2 issues that we found that are affected by drifting cluster clocks. This PR fixes both.\r\n\r\nUpdates to the TimestampRegion were using the System clock instead of the cluster clock (switch to use nextTimeStamp, which will use cluster clock or fall back to system clock if cluster clock is not available).\r\n\r\nHibernate performs a pre-invalidate step where it takes the clusterTime + clusterTimeout (defaults to 3600 seconds if not configured), which makes the query cache basically inoperative for an hour after the pre-invalidate step occurs."},"comment":{"url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/comments/267048698","html_url":"https://github.com/hazelcast/hazelcast-hibernate/pull/29#issuecomment-267048698","issue_url":"https://api.github.com/repos/hazelcast/hazelcast-hibernate/issues/29","id":267048698,"user":{"login":"benlamonica","id":124248,"avatar_url":"https://avatars.githubusercontent.com/u/124248?v=3","gravatar_id":"","url":"https://api.github.com/users/benlamonica","html_url":"https://github.com/benlamonica","followers_url":"https://api.github.com/users/benlamonica/followers","following_url":"https://api.github.com/users/benlamonica/following{/other_user}","gists_url":"https://api.github.com/users/benlamonica/gists{/gist_id}","starred_url":"https://api.github.com/users/benlamonica/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benlamonica/subscriptions","organizations_url":"https://api.github.com/users/benlamonica/orgs","repos_url":"https://api.github.com/users/benlamonica/repos","events_url":"https://api.github.com/users/benlamonica/events{/privacy}","received_events_url":"https://api.github.com/users/benlamonica/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T14:34:12Z","updated_at":"2016-12-14T14:34:12Z","body":"Sure, will fix it. Sorry didn't notice the checkstyle issue when I built locally."}}
{"actor":{"display_login":"benlamonica"}}