当前位置:网站首页>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"
}
}
}
边栏推荐
- 一文深入底层分析Redis对象结构
- cocoscreator播放Spine动画
- Market scale forecast and investment risk forecast report of China's securities operating institutions 2022-2027
- [feature extraction] feature selection of target recognition information based on sparse PCA with Matlab source code
- MySQL
- How to open an account in flush? Is it safe to open an account online?
- ZRaQnHYDAe
- I have been testing at Tencent for several years
- Analyze 5 indicators of NFT project
- STM32F1与STM32CubeIDE编程实例-热敏传感器驱动
猜你喜欢

Redis系列——redis启动,客户端day1-2

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

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

Professional course - Code question record

The performance of iron and steel enterprises was expected to be good in January this year. Since February, the prices of products of iron and steel enterprises have increased significantly. A mighty

cocoscreator播放Spine动画

How to publish function computing (FC) through cloud effect

Parameter index out of range (0 < 1) (1> number of parameters, which is 0

基于sanic的服务使用celery完成动态修改定时任务

【图像分割】基于最大主曲率实现视网膜眼底图像中的血管提取附matlab代码
随机推荐
Numpy learning challenge level 1 - Download and installation of numpy
[image enhancement] image defogging based on artificial multiple exposure fusion amef with matlab code
3D porphyrin MOF (mof-p5) / 3D porphyrin MOF (mof-p4) / 2D cobalt porphyrin MOF (ppf-1-co) / 2D porphyrin COF (POR COF) / supplied by Qiyue
两水先木示身为Unity3D职场人的个人觉悟
Promise API for getting started with the web
Report on China's potassium fluoride Market Survey and suggestions for future development strategic planning 2022
ZRaQnHYDAe
PyTorch搭建CNN-LSTM混合模型实现多变量多步长时间序列预测(负荷预测)
oracle创建带返回值的存储过程并sql执行调用
QTreeWidget And QTableWidget
I have been testing at Tencent for several years
Market survey of China's coal to liquid industry and analysis report on investment competitiveness during the "14th five year plan" 2022-2027
MySQL storage and custom functions
Liujinhai, chief architect of zhongang Mining: according to the analysis of fluorite supply and demand, it is estimated that the fluorine coating market has great potential
炒股怎么选择证券公司?手机开户安全么?
3,3 '- di (3,4-dicarboxyphenoxy) -4,4' - diphenylethynylbiphenyldianhydride (bpebpda) / porphyrin 2dcofs (H2P COF, ZNP COF and cup COF) supplied by Qiyue
MySQL
[cellular automata] Based on cellular automata, realize the traffic flow problem of expressway toll station, with matlab code
Research Report on market development prospect and investment strategy of China's water soluble film industry 2022-2027
ZRaQnHYDAe