我嘗試僅對一個索引進行快照,并具有以下類似請求:
PUT /_snapshhot/esbackup/snapshot_myindex_20211101
{
"indices": "myindex",
"ignore_unavailable": true,
"include_global_state": false
}
但收到以下奇怪的錯誤訊息:
{
"error": {
"root_cause": [{
"type": "index_not_found_exception",
"reason": "no such index [_snapshhot] and [action.auto_create_index] ([.watches,.triggered_watches,.watcher-history-*]) doesn't match",
"index_uuid": "_na_",
"index": "_snapshhot"
}
],
"type": "index_not_found_exception",
"reason": "no such index [_snapshhot] and [action.auto_create_index] ([.watches,.triggered_watches,.watcher-history-*]) doesn't match",
"index_uuid": "_na_",
"index": "_snapshhot"
},
"status": 404
}
我猜這可能是由于我的集群中的以下 elasticsearch.yml 設定:
action.auto_create_index: ".watches,.triggered_watches,.watcher-history-*"
但是關于它們是如何相關的。
任何人都知道原因以及如何解決?
uj5u.com熱心網友回復:
我認為,例外的原因 - API 中的錯誤:
PUT /_snapshhot/esbackup/snapshot_myindex_20211101
在 _snapshhot 你有雙 h
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/344572.html
標籤:弹性搜索
