Details
-
Bug
-
Resolution: Won't Fix
-
Major
-
None
-
None
-
Security Level: Public
-
None
Description
Currently we take the cluster.name property in Elasticsearch, and hash it, this becomes the cluster UUID. This is simple, works on all nodes (since they implicitly agree on the cluster name)
Unfortunately, no one ever changes their cluster name. So effectively, all clusters have the same UUID.
The only way to avoid this would be to add some deeper integration with Elasticsearch. Generate a new UUID when one doesn't exist, and make sure its propagated to all other nodes in a safe way.