提问人:Vadiraj 提问时间:11/15/2023 更新时间:11/15/2023 访问量:14
从 S3 快照还原 Elasticsearch
Elasticsearch Restore from S3 Snapshot
问:
我们正在尝试从 S3 存储桶还原快照。快照是从不同的集群(7.12)获取的,并在不同的集群(7.17)中恢复。
以下是还原活动期间的错误
"error":{"root_cause":[{"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (add-block-index-to-close [[cib_/MAZVfK1fR2aQL2op_bMAhg]]) within 30s"}],"type":"process_cluster_event_timeout_exception","reason":"failed to process cluster event (add-block-index-to-close [[cib_/MAZVfK1fR2aQL2op_bMAhg]]) within 30s"},"status":503}
我们正在使用自动化脚本来关闭索引并使用以下语句执行还原
curl -X POST -u admin:$passw "https://$HOST_NAME:9201/$index/_close"
curl -X POST -u admin:$passw "https://$HOST_NAME:9201/_snapshot/$REPOSITORY_NAME/$snapshotname/_restore?wait_for_completion=true" -H 'Content-Type:application/json' -d'
{
"indices": "'"$index"'",
"ignore_unavailable": true,
"include_global_state": false,
"partial": false,
"index_settings":{
"index.routing.allocation.exclude.app": "someapp"
}
}
' >> s3repo_cibrcdn.json
有人可以帮助解决错误吗?我们没有提到任何超时
答: 暂无答案
评论
/_restore?timeout=60s
master_timeout