I recently use node attribute metadata to achieve Shard Allocation Awareness. But whenever I need to update those node attribute, I have to restart a node.
In my opinion, all the node attributes is reported to master and stored in the global cluster state. After this, the master node can use those node attributes to achieve shard allocation awareness. If I understand correctly, why not update node attributes through restful API, which will make attribute update operation more elegant.
I want to learn more about the design consideration.
I hope I explain clearly my question, and any help is appreciated.