{"action":"opened","issue":{"url":"https://api.github.com/repos/hazelcast/hazelcast/issues/9172","repository_url":"https://api.github.com/repos/hazelcast/hazelcast","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/9172/labels{/name}","comments_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/9172/comments","events_url":"https://api.github.com/repos/hazelcast/hazelcast/issues/9172/events","html_url":"https://github.com/hazelcast/hazelcast/issues/9172","id":185127822,"number":9172,"title":"putToCacheAndGetInvalidationEventWhenNodeShutdown test randomly fails","user":{"login":"ihsandemir","id":7543261,"avatar_url":"https://avatars.githubusercontent.com/u/7543261?v=3","gravatar_id":"","url":"https://api.github.com/users/ihsandemir","html_url":"https://github.com/ihsandemir","followers_url":"https://api.github.com/users/ihsandemir/followers","following_url":"https://api.github.com/users/ihsandemir/following{/other_user}","gists_url":"https://api.github.com/users/ihsandemir/gists{/gist_id}","starred_url":"https://api.github.com/users/ihsandemir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ihsandemir/subscriptions","organizations_url":"https://api.github.com/users/ihsandemir/orgs","repos_url":"https://api.github.com/users/ihsandemir/repos","events_url":"https://api.github.com/users/ihsandemir/events{/privacy}","received_events_url":"https://api.github.com/users/ihsandemir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Client","name":"Team: Client","color":"8f77cc"},{"url":"https://api.github.com/repos/hazelcast/hazelcast/labels/Team:%20Core","name":"Team: Core","color":"109def"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/76","html_url":"https://github.com/hazelcast/hazelcast/milestones/3.8","labels_url":"https://api.github.com/repos/hazelcast/hazelcast/milestones/76/labels","id":1774122,"number":76,"title":"3.8","description":"","creator":{"login":"degerhz","id":8373100,"avatar_url":"https://avatars.githubusercontent.com/u/8373100?v=3","gravatar_id":"","url":"https://api.github.com/users/degerhz","html_url":"https://github.com/degerhz","followers_url":"https://api.github.com/users/degerhz/followers","following_url":"https://api.github.com/users/degerhz/following{/other_user}","gists_url":"https://api.github.com/users/degerhz/gists{/gist_id}","starred_url":"https://api.github.com/users/degerhz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/degerhz/subscriptions","organizations_url":"https://api.github.com/users/degerhz/orgs","repos_url":"https://api.github.com/users/degerhz/repos","events_url":"https://api.github.com/users/degerhz/events{/privacy}","received_events_url":"https://api.github.com/users/degerhz/received_events","type":"User","site_admin":false},"open_issues":179,"closed_issues":250,"state":"open","created_at":"2016-05-18T14:13:56Z","updated_at":"2016-10-25T14:05:59Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2016-10-25T14:05:59Z","updated_at":"2016-10-25T14:05:59Z","closed_at":null,"body":"putToCacheAndGetInvalidationEventWhenNodeShutdown test simulates member shutting down using the code:\r\n((LifecycleServiceImpl) instanceToShutdown.getLifecycleService())\r\n                .fireLifecycleEvent(LifecycleEvent.LifecycleState.SHUTTING_DOWN);\r\n\r\nThe cache invalidation listener is CacheEventHandler. The Connection manager also listens for this event. The order in which these listeners are called changes the result of the test.\r\n\r\nFail case: Connection manager listener called first closing the connections, and then the CacheEventHandler listener is called but the cache invalidation can not be delivered since the connection was closed.\r\n\r\nPass case: CacheEventHandler listener called first and then the Connection manager listener.\r\n\r\nA possible solution is to invalidate near caches at the client side when CLIENT_DISCONNECTED (us client lifecycle listener).\r\n\r\n"}}
{"actor":{"display_login":"ihsandemir"}}