原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ilm-wait-for-snapshot.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/ilm-wait-for-snapshot.html
本地英文版地址: ../en/ilm-wait-for-snapshot.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Wait for snapshotedit
Phases allowed: delete.
Waits for the specified SLM policy to be executed before removing the index. This ensures that a snapshot of the deleted index is available.
Optionsedit
-
policy
- (Required, string) Name of the SLM policy that the delete action should wait for.
Exampleedit
PUT _ilm/policy/my_policy { "policy": { "phases": { "delete": { "actions": { "wait_for_snapshot" : { "policy": "slm-policy-name" } } } } } }