【報錯】elasticsearch 報錯blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
elasticsearch 報錯blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]
從輸出語句可以看出是索引只讀的錯誤,實際也的確如此,這個錯誤正是我在操作刪除的時候報出的。
解決辦法:
1、es儲存資料的磁碟此時應用空間已使用95%以上,刪除不必要檔案給es足夠空間
2、執行DSL
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
原因:
一旦在儲存超過95%的磁碟中的節點上分配了一個或多個分片的任何索引,該索引將被強制進入只讀模式
檢視方法:在head外掛或kibana上檢視索引資訊,當 "read_only_allow_delete": "true"時,即是索引在只讀模式狀態。
(圖中引數已經修改過)
相關文章
- 005-blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]BloCORBIndexdeleteAPI
- Homestead 啟動 elasticsearch 報錯Elasticsearch
- elasticSearch head 查詢報錯Elasticsearch
- 小程式報錯Invoke event bindViewTap in page: pages/index/indexViewIndex
- Elasticsearch報Call to undefined xx makeAllSearchable()錯誤ElasticsearchUndefined
- Elasticsearch 6 建立索引報錯 invalid_index_name_exception Invalid index name [testDemo], must be lowercaseElasticsearch索引IndexException
- PHP程式報錯:PHP Notice: Undefined index: XX inPHPUndefinedIndex
- recover database delete archivelogs skip tablespace temp;報錯DatabasedeleteHive
- Laravel 54 配置 Elasticsearch 時的報錯提示LaravelElasticsearch
- Maven編譯elasticsearch-analysis-ik報錯Maven編譯Elasticsearch
- eclipse svn commit 報錯 Commit blocked by pre-commit hookEclipseMITBloCHook
- Oracle報錯ORA-27127Oracle
- ElasticSearch啟動報錯 ERROR: [4] bootstrap checks failedElasticsearchErrorbootAI
- JavaScript報錯型別(報錯速查)JavaScript型別
- 呼叫 webapi的put和delete 報"Method Not Allowed" 405 錯誤。WebAPIdelete
- python爬蟲 -IndexError: list index out of range報錯Python爬蟲IndexError
- qt 5.12測試openssl報錯QT
- PMS API報錯403 client token authorization failAPIclientAI
- IE9 平時報錯,F12不報錯IE9
- ElasticSearch 7.6.2 單機部署三個節點 報錯Elasticsearch
- JavaScript報錯JavaScript
- spark報錯Spark
- mybatis報錯MyBatis
- redis報錯Redis
- 報錯集
- 報錯+2
- playsound報錯
- 前端報錯前端
- dhcp報錯
- 安裝ElasticSearch-6.2.3所遇到的安裝報錯Elasticsearch
- 132 SVN提交報錯"Commit blocked by pre-commit hook"的解決辦法MITBloCHook
- springcloud報錯報UnsatisfiedDependencyExceptionSpringGCCloudException
- asm報錯一例-support 報錯rename failedASMAI
- 10203 Rman執行delete obsolete報錯Segmentation faultdeleteSegmentation
- 釋出npm包遇到的報錯: ERR! 403 Forbidden, Are you logged in as the correct userNPMORB
- 使用API28報錯問題及解決API
- SQLServer2012搭建AlwaysOn報錯SQLServer
- 連線ORACLE報錯:ORA-12528Oracle