post_allocation

编辑

此设置仅由 shrink 操作使用。

action: shrink
description: >-
  Shrink selected indices on the node with the most available space.
  Apply shard routing allocation to target indices.
options:
  shrink_node: DETERMINISTIC
  post_allocation:
    allocation_type: include
    key: node_tag
    value: cold
filters:
  - filtertype: ...

post_allocation 唯一允许的子键与 allocation 操作使用的选项相同:allocation_typekeyvalue

如果存在,这些值将用于在缩减后将分片路由分配应用于目标索引。

post_allocation 没有默认值。