skip_repo_fs_check
此设置必须为 True
或 False
。
此设置的默认值为 False
集群中的每个主节点和数据节点 必须 具有对仓库所使用的共享文件系统的写入访问权限,以使快照 100% 有效。对于 恢复,这是一项轻量级尝试,旨在确保所有节点 仍然 能够主动写入仓库,希望快照来自于所有节点。对于恢复而言,这在其他方面不是必需的。
某些文件系统可能需要更长时间来响应检查,这会导致文件系统访问检查出现误报。对于这些情况,可以通过将其设置为 True
来绕过此验证步骤。
actions:
1:
action: restore
description: Restore my_index from my_snapshot in my_repository
options:
repository: my_repository
name: my_snapshot
indices: my_index
skip_repo_fs_check: False
wait_for_completion: True
max_wait: 3600
wait_interval: 10
filters:
- filtertype: state
state: SUCCESS
exclude:
- filtertype: ...
集群中的每个主节点和数据节点 必须 具有对仓库所使用的共享文件系统的写入访问权限,以使快照 100% 有效。
某些文件系统可能需要更长时间来响应检查,这会导致文件系统访问检查出现误报。对于这些情况,可以通过将其设置为 True
来绕过此验证步骤。
action: snapshot
description: >-
Snapshot selected indices to 'repository' with the snapshot name or name
pattern in 'name'. Use all other options as assigned
options:
repository: my_repository
name: my_snapshot
skip_repo_fs_check: False
wait_for_completion: True
max_wait: 3600
wait_interval: 10
filters:
- filtertype: ...