当前位置:网站首页>索引被锁数据无法写入ES问题处理
索引被锁数据无法写入ES问题处理
2022-04-23 06:28:00 【夜夜夜空】
有时候,es所在磁盘满了,es会将索引设置成只读状态,不可再写入,而且写入程序调用不返回错误,在将磁盘清理后,索引状态不会自动变更回来,这时候需要我们手动将索引的状态改回来
PUT _settings
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
//或者
curl -XPUT http://host:9200/_settings -H 'Content-Type: application/json' -d '
{
"index": {
"blocks": {
"read_only_allow_delete": "false"
}
}
}
'
版权声明
本文为[夜夜夜空]所创,转载请带上原文链接,感谢
https://blog.csdn.net/zixuanyankai/article/details/124037184
边栏推荐
猜你喜欢

'NPM' is not an internal or external command, nor is it a runnable program or batch file

Redis connection error err auth < password > called without any password configured for the default user

int a = 1存放在哪

Window10版MySQL设置远程访问权限后不起效果

Dropping Pixels for Adversarial Robustness

平面定义-平面方程

利用Lambda表达式解决c#文件名排序问题(是100大还是11大的问题)

对js中argumens的简单理解

Django uses MySQL database to solve error reporting

SAP PI/PO功能运行状态监控检查
随机推荐
Rethink | open the girl heart mode of station B and explore the design and implementation of APP skin changing mechanism
NodeJS(一) 事件驱动编程
js之作用域、作用域链、全局变量和局部变量
斐波拉去动态规划
Apache Hudi 如何加速传统的批处理模式?
Ogldev reading notes
Super classic & Programming Guide (red and blue book) - Reading Notes
SAP DEBUG调试FOR IN、REDUCE等复杂的语句
H5 local storage data sessionstorage, localstorage
How to judge whether a point is within a polygon (including complex polygons or a large number of polygons)
NodeJS(四) 字符读取
SAP pi / PO rfc2soap publishes RFC interface as WS example
SAP 03-AMDP CDS Table Function using ‘WITH‘ Clause(Join子查询内容)
Unityshader Foundation
BTREE, B + tree and hash index
C# 多个矩形围成的多边形标注位置的问题
js之DOM事件
5. Sql99 standard: internal connection and external connection
Hot change scheme and dynamic update strategy of mobile game
Nodejs (I) event driven programming