apache / apache/iotdb

Current system mode is read-only

未关闭
#2,607 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
6.4k
派生
1.2k
平均合并
1 天 23 小时
30 天内合并 PR
115

描述

This means meeting error when flushing data to disk.

You could search "change system mode to read-only" in the error log to see what happened.

Some common reasons:

- Disk space is full
- Too many open files
- OOM

If OOM, two ways:
(1) config manually if you use 0.10 or earlier version:

conf/iotdb-engine.properties:
enable_parameter_adapter=false
tsfile_size_threshold=100000000
memtable_size_threshold=JVM memory/2/storage group number/4

(2) upgrade to version 0.11.2 or a later version
Generally, in 0.11 version, you do not need to config manually. If still OOM, you could still try to config

conf/iotdb-engine.properties:
enable_mem_control=false
tsfile_size_threshold=100000000
memtable_size_threshold=JVM memory/2/storage group number/4

If still OOM, lower the memtable_size_threshold!

If still, contact us... Wechat:tietouqiao

贡献指南

打开贡献指南

调研方向

从包含 "change system mode to read-only" 的错误日志条目开始,并检查 conf/iotdb-engine.properties 中列出的内存和 flush 设置。比较所引用的 IoTDB 版本,并验证只读模式的可复现解决方案;issue 未指明源文件或测试。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
database
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。