[Bug] 按默认配置 wal 日志一直增涨,最后导致数据无法写入
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 115
描述
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/iotdb/issues) and found nothing similar.
### Version
版本 iotdb:0.13.2-node 单机版本
### Describe the bug and provide the minimal reproduce step
按默认配置 wal 日志一直增涨,最后导致数据无法写入 :
我内存(MAX_HEAP_SIZE , HEAP_NEWSIZE , MAX_DIRECT_MEMORY_SIZE )设置了 4GB . 其他都是默认配置,当运行近4天左右。就无法再写入数据了。 我观察了一下 grafana 的指标 , 发现 【Database Used Memory】仪表板曲线一直涨 。 【The Size Of File】wal 曲线一直涨 ,并且 total size of file 线达 5GB多 。 查询的时间范围是 4天
### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
贡献指南
调研方向
报告没有指出源文件、测试或入口点;它报告了默认配置、Grafana 的 Database Used Memory 和 WAL file-size 指标,以及写入在大约四天后失败的情况。首先使用所述的 4 GB 内存设置复现增长,并检查 WAL 和内存的行为。完成的标准是找出原因,并防止 WAL 增长最终阻塞写入。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100