{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/11914","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11914/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11914/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11914/events","html_url":"https://github.com/elastic/elasticsearch/pull/11914","id":91817479,"number":11914,"title":"Rename MetaData.uuid -> MetaData.clusterUUID and IndexMetaData.uuid-> IndexMetaData.indexUUID","user":{"login":"bleskes","id":1006375,"avatar_url":"https://avatars.githubusercontent.com/u/1006375?v=3","gravatar_id":"","url":"https://api.github.com/users/bleskes","html_url":"https://github.com/bleskes","followers_url":"https://api.github.com/users/bleskes/followers","following_url":"https://api.github.com/users/bleskes/following{/other_user}","gists_url":"https://api.github.com/users/bleskes/gists{/gist_id}","starred_url":"https://api.github.com/users/bleskes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleskes/subscriptions","organizations_url":"https://api.github.com/users/bleskes/orgs","repos_url":"https://api.github.com/users/bleskes/repos","events_url":"https://api.github.com/users/bleskes/events{/privacy}","received_events_url":"https://api.github.com/users/bleskes/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/:Cluster","name":":Cluster","color":"009800"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/non-issue","name":"non-issue","color":"cfcfcf"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/review","name":"review","color":"0052cc"},{"url":"https://api.github.com/repos/elastic/elasticsearch/labels/v2.0.0","name":"v2.0.0","color":"dddddd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-29T14:18:18Z","updated_at":"2015-07-02T17:44:57Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/elasticsearch/pulls/11914","html_url":"https://github.com/elastic/elasticsearch/pull/11914","diff_url":"https://github.com/elastic/elasticsearch/pull/11914.diff","patch_url":"https://github.com/elastic/elasticsearch/pull/11914.patch"},"body":"As explained in #11831, we currently have uuid fields on the cluster state, meta data and index metadata. The latter two are persistent across changes are being effectively used as a persistent uuid for this cluster and a persistent uuid for an index. The first (ClusterState.uuid) is ephemeral and changes with every change to the cluster state. This is confusing,\r\n\r\nUPDATE:\r\nWe settled on having the following:\r\n\r\n-> ClusterState.uuid -> stateUUID (transient)\r\n-> MetaData.uuid -> clusterUUID (persistent)\r\n-> IndexMetaData.uuid -> indexUUID (persistent).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/118107434","html_url":"https://github.com/elastic/elasticsearch/pull/11914#issuecomment-118107434","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/11914","id":118107434,"user":{"login":"imotov","id":655851,"avatar_url":"https://avatars.githubusercontent.com/u/655851?v=3","gravatar_id":"","url":"https://api.github.com/users/imotov","html_url":"https://github.com/imotov","followers_url":"https://api.github.com/users/imotov/followers","following_url":"https://api.github.com/users/imotov/following{/other_user}","gists_url":"https://api.github.com/users/imotov/gists{/gist_id}","starred_url":"https://api.github.com/users/imotov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imotov/subscriptions","organizations_url":"https://api.github.com/users/imotov/orgs","repos_url":"https://api.github.com/users/imotov/repos","events_url":"https://api.github.com/users/imotov/events{/privacy}","received_events_url":"https://api.github.com/users/imotov/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T17:44:57Z","updated_at":"2015-07-02T17:44:57Z","body":"Left a couple of minor comments. Otherwise LGTM."}}