|  |  | 通过手动迁移shard临时解决热点数据分布不均匀问题 | 
|  |  |  | 
|  |  | [阿里云文档](https://help.aliyun.com/document_detail/190319.html) | 
|  |  | ``` | 
|  |  | PUT /_cluster/settings | 
|  |  | { | 
|  |  | "transient" : { | 
|  |  | "cluster.routing.allocation.enable" : "none" | 
|  |  | } | 
|  |  | } | 
|  |  |  | 
|  |  | POST /_cluster/reroute | 
|  |  | { | 
|  |  | "commands" : [ | 
|  |  | { | 
|  |  | "move" : { | 
|  |  | "index" : "api-shuidi-log-2022.04.25", | 
|  |  | "shard" : 0, | 
|  |  | "from_node" : "10.8.6.107", | 
|  |  | "to_node" : "10.8.6.112" | 
|  |  | } | 
|  |  | } | 
|  |  | ] | 
|  |  | } | 
|  |  |  | 
|  |  | GET _cat/shards?v | 
|  |  |  | 
|  |  | PUT /_cluster/settings | 
|  |  | { | 
|  |  | "transient" : { | 
|  |  | "cluster.routing.allocation.enable" : "all" | 
|  |  | } | 
|  |  | } | 
|  |  |  | 
|  |  |  | 
|  |  | ··· | 
|  |  | \ No newline at end of file |