当前位置:网站首页>ES cluster_ block_ exception read_ only_ allow_ Delete question
ES cluster_ block_ exception read_ only_ allow_ Delete question
2022-06-26 07:08:00 【Talk to me】
At one time ES An error is reported when importing data
{
"error":{
"root_cause":[
{
"type":"cluster_block_exception",
"reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
}
],
"type":"cluster_block_exception",
"reason":"blocked by: [FORBIDDEN/12/index read-only / allow delete (api)];"
},
"status":403
}reason :
This is because ES Data directory of the new node data Not enough storage space , Result from master The master node failed to receive synchronous data , here ES Clusters to protect data , Will automatically fragment the index index Set to read only read-only「cluster_block_exception」
see mappings You can see :"read_only_allow_delete" : "ture"
{
"settings" : {
"index" : {
"refresh_interval" : "1s",
"number_of_shards" : "5",
"blocks" : {
"read_only_allow_delete" : "ture"
},
"provided_name" : "index_name",
"creation_date" : "1561280427271",
"analysis" : {
"analyzer" : {
"comma" : {
"pattern" : ",",
"type" : "pattern"
}
}
},
"number_of_replicas" : "1",
"uuid" : "xxxxxxxxxxxxxxx",
"version" : {
"created" : "6050399"
}
}
}
}resolvent :
- 1 Disk expansion , It can be modified in the configuration file ES Data storage directory , restart ES
- 2 Release index read-only settings , On the server through curl Tool launch PUT request
Law 1 :
After capacity expansion ~
Law two :
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
边栏推荐
- 【推荐10个 让你轻松的 IDEA 插件,少些繁琐又重复的代码】
- Paths with a certain value in a binary tree (1) (2) (3) (Sword finger offer)
- MySQL 'replace into' 的坑 自增id,备机会有问题
- Market scale forecast and investment risk forecast report of China's securities operating institutions 2022-2027
- What is deadlock
- Alkynyl crosslinked porphyrin based polyimide materials (ppbpi-h-cr, ppbpi Mn cr.ppbpi Fe Cr); Metalloporphyrin based polyimide (ppbpi Mn, ppbpi FE) supplied by Qiyue
- Numpy learning challenge level 1 - Download and installation of numpy
- Redis系列——5种常见数据类型day1-3
- MATLAB线性规划模型学习笔记
- Database persistence
猜你喜欢

Bugku exercise ---misc--- prosperity, strength and democracy

【推荐一款实体类转换工具 MapStruct,性能强劲,简单易上手 】

GMP模型

On a classical problem

面试被问Redis主从复制不会答?这13张图让你彻底弄明白

淺析一道經典題
![[image segmentation] blood vessel extraction from retinal fundus images based on maximum principal curvature with matlab code](/img/10/3cef095ae5834bbbe51ef16b5c9f78.png)
[image segmentation] blood vessel extraction from retinal fundus images based on maximum principal curvature with matlab code

Big factory interview TCP protocol classic 15 consecutive questions! 22 pictures to make you fully understand

【特征提取】基于稀疏PCA实现目标识别信息特征选择附matlab源码

Analyze 5 indicators of NFT project
随机推荐
What is data mining?
shell 输入验证仅限字母数字
Parameter index out of range (0 < 1) (1> number of parameters, which is 0
China's audio industry competition trend outlook and future development trend forecast report 2022 Edition
GMP模型
Invalid problem of self defined map used by Gaode map
Cocoscreator plays spine animation
QTreeWidget And QTableWidget
How to transfer database data to check box
oracle创建带返回值的存储过程并sql执行调用
Here comes the apple ar/vr device exclusive system! Or named realityos
NumPy学习挑战第五关-创建数组
Six stones Management: exaggerating the achievements, whether the parties themselves know
Scratch program learning
Crosslinked porphyrin based polyimide ppbpi-2, ppbpi-1-cr and ppbpi-2-cr; Porous porphyrin based hyperbranched polyimide (ppbpi-1, ppbpi-2) supplied by Qiyue
Solution of garbled code in sparkshell deletion key of SecureCRT
Analyse d'un problème classique
php array_merge详解
Solve the problem of cross domain invalidation of cookies in the new version of Google Chrome browser
Research Report on sales scale forecast and investment opportunities of China's jewelry industry 2022-2027