{"action":"created","issue":{"url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/154","repository_url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform","labels_url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/154/comments","events_url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/154/events","html_url":"https://github.com/Terracotta-OSS/terracotta-platform/issues/154","id":178412980,"number":154,"title":"Handle failover for management metadata exposed","user":{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/labels/clustering","name":"clustering","color":"d4c5f9"},{"url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/labels/module:%20management","name":"module: management","color":"bfe5bf"},{"url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/labels/ready","name":"ready","color":"e6e6e6"}],"state":"open","locked":false,"assignee":{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false},"assignees":[{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-09-21T17:32:05Z","updated_at":"2016-09-21T18:26:42Z","closed_at":null,"body":"When a failover happens, the client-side entity should makes the management layer aware there has been a reconnection so that the management layer can re-expose the management metadata of the client.\r\n\r\nAs discussed with @jd0-sag : supposed to be working by using `EndpointDelegate.createExtendedReconnectData`, to pass the reconnect information to the new server entity (that will include the management metadata).\r\n\r\nFor this to work, we would need that this ordering applies:\r\n\r\n1. without any ordering:\r\n  A: `EndpointDelegate.createExtendedReconnectData()`called on client-side\r\n  B:  platform informs the monitoring service about the platform changes (new server states, client leaves, joins, etc)\r\n\r\n2. `ActiveServerEntity.handleReconnect()` called on server-side\r\n\r\n3. The server entity can expose the incoming management metadata in the byte array[] in the monitoring service, for the associated client descriptor because the client exists in the topology thanks to 1. B."},"comment":{"url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/comments/248699971","html_url":"https://github.com/Terracotta-OSS/terracotta-platform/issues/154#issuecomment-248699971","issue_url":"https://api.github.com/repos/Terracotta-OSS/terracotta-platform/issues/154","id":248699971,"user":{"login":"mathieucarbou","id":61346,"avatar_url":"https://avatars.githubusercontent.com/u/61346?v=3","gravatar_id":"","url":"https://api.github.com/users/mathieucarbou","html_url":"https://github.com/mathieucarbou","followers_url":"https://api.github.com/users/mathieucarbou/followers","following_url":"https://api.github.com/users/mathieucarbou/following{/other_user}","gists_url":"https://api.github.com/users/mathieucarbou/gists{/gist_id}","starred_url":"https://api.github.com/users/mathieucarbou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mathieucarbou/subscriptions","organizations_url":"https://api.github.com/users/mathieucarbou/orgs","repos_url":"https://api.github.com/users/mathieucarbou/repos","events_url":"https://api.github.com/users/mathieucarbou/events{/privacy}","received_events_url":"https://api.github.com/users/mathieucarbou/received_events","type":"User","site_admin":false},"created_at":"2016-09-21T18:26:42Z","updated_at":"2016-09-21T18:26:42Z","body":"ok! thanks!"}}
{"actor":{"display_login":"mathieucarbou"}}