THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
- All nodes join live_nodes, as is the case today
- ZK structure for roles:
- /roles
- overseer
- solr1:8983 (ephemeral nodes)
- solr2:8983 ( .. )
- <rolename>
- <nodename>solr1_8983
{"roles": "data", "overseer"]
- solr2_8983
- {"roles": ["overseer"]}
- /roles
Other notes
- Every time a node starts up with specified roles, the node assumes it is the correct role for that node and publishes those roles in ZK after successful startup.
- If a node is started with a -Dsolr.node.roles parameter that doesn't have a data role, but it already has data hosting replicas on it, the startup fails with an error (and a hint indicating how to move replicas away from this replica).
- If a coordinator node is started with "data" role also, it fails to startup with a message indicating a node cannot both be coordinator and data node.
...