{"action":"created","issue":{"url":"https://api.github.com/repos/Metaswitch/calico/issues/342","labels_url":"https://api.github.com/repos/Metaswitch/calico/issues/342/labels{/name}","comments_url":"https://api.github.com/repos/Metaswitch/calico/issues/342/comments","events_url":"https://api.github.com/repos/Metaswitch/calico/issues/342/events","html_url":"https://github.com/Metaswitch/calico/issues/342","id":67699312,"number":342,"title":"Make sure plugin handle etcd cluster being replaced under it","user":{"login":"fasaxc","id":469264,"avatar_url":"https://avatars.githubusercontent.com/u/469264?v=3","gravatar_id":"","url":"https://api.github.com/users/fasaxc","html_url":"https://github.com/fasaxc","followers_url":"https://api.github.com/users/fasaxc/followers","following_url":"https://api.github.com/users/fasaxc/following{/other_user}","gists_url":"https://api.github.com/users/fasaxc/gists{/gist_id}","starred_url":"https://api.github.com/users/fasaxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fasaxc/subscriptions","organizations_url":"https://api.github.com/users/fasaxc/orgs","repos_url":"https://api.github.com/users/fasaxc/repos","events_url":"https://api.github.com/users/fasaxc/events{/privacy}","received_events_url":"https://api.github.com/users/fasaxc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-10T22:55:33Z","updated_at":"2015-04-13T19:48:53Z","closed_at":null,"body":"Similar to https://github.com/Metaswitch/calico/issues/340, the plugin should spot if the etcd cluster is replaced with an empty one or, say, an out-of-date  backup and go through a resync if so.  I think we can assume that the cluster ID would change if etcd is replaced."},"comment":{"url":"https://api.github.com/repos/Metaswitch/calico/issues/comments/92476001","html_url":"https://github.com/Metaswitch/calico/issues/342#issuecomment-92476001","issue_url":"https://api.github.com/repos/Metaswitch/calico/issues/342","id":92476001,"user":{"login":"fasaxc","id":469264,"avatar_url":"https://avatars.githubusercontent.com/u/469264?v=3","gravatar_id":"","url":"https://api.github.com/users/fasaxc","html_url":"https://github.com/fasaxc","followers_url":"https://api.github.com/users/fasaxc/followers","following_url":"https://api.github.com/users/fasaxc/following{/other_user}","gists_url":"https://api.github.com/users/fasaxc/gists{/gist_id}","starred_url":"https://api.github.com/users/fasaxc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fasaxc/subscriptions","organizations_url":"https://api.github.com/users/fasaxc/orgs","repos_url":"https://api.github.com/users/fasaxc/repos","events_url":"https://api.github.com/users/fasaxc/events{/privacy}","received_events_url":"https://api.github.com/users/fasaxc/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T19:48:53Z","updated_at":"2015-04-13T19:48:53Z","body":"(Untested) fork of python-etcd here: https://github.com/Metaswitch/python-etcd/tree/smc-stream  The fork uses stream=True for the eternal_watch generator and raises exceptions if the cluster ID changes between requests."}}