Add support for more cluster reroute functionality
It would be nice if the Overview UI supported other cluster reroute options:
- canceling shard relocations
- force allocation
Support for relocation already exists, so I would think all the pieces are already in place to implement the rest.
The API is defined at the following link:
- https://www.elastic.co/guide/en/elasticsearch/reference/6.8/cluster-reroute.html
@tuckerpm Hi, can you give me a use case for force allocation? I have implemented canceling shard relocations here https://github.com/lmenezes/cerebro/pull/511, but I wonder how the force allocation interface should behave.
@yaplik Hello and thank you for considering my request. It has been a while since I've had to force a shard to allocate. The way I see this working in the user interface is similar to a normal relocate. The difference being that the shard will not be assigned to a node so it will be in the unallocated row when clicked. After being selected for force allocation, the user will click the row of the node that the shard should be allocated to. Hopefully that makes sense. Thanks again!