apache / apache/iotdb

[Bug] IndexOutOfBoundsException

未关闭
#18,032 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
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

centOS
iot-db-2.0.5-all-bin
standalone server

### Describe the bug and provide the minimal reproduce step

磁盘满的情况下创建表,返回成功。
写入数据提示磁盘已满。
清理磁盘再次写入数据报以下错误。

### What did you expect to see?

数据正常写入
或者正确的错误提示
或者建表失败

### What did you see instead?

客户端报错:org.apache.iotdb.rpc.StatementExecutionException: 305: Index: 0, Size: 0

服务器日志:Image

### Anything else?

重启iotdb服务之后能够正常写入

### Are you willing to submit a PR?

- [ ] I'm willing to submit a PR!

贡献指南

打开贡献指南

调研方向

在磁盘已满的情况下,于 IoTDB 2.0.5 standalone 上复现该问题,然后在清理出空间并重试写入后,检查服务器日志和客户端的 IndexOutOfBoundsException。确定磁盘已满时创建表为何会成功,以及写入为何会一直失败到重启为止。完成的标准是数据能够正常写入,或客户端能够收到正确的错误,而无需重启服务。

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

评估

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

把新 issue 发到你的邮箱

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