apache / apache/iotdb

[Bug] IndexOutOfBoundsException

Open
#18,032 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

### 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!

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue on IoTDB 2.0.5 standalone with the disk full, then inspect the server log and the client’s IndexOutOfBoundsException after clearing space and retrying the write. Determine why table creation succeeds in the full-disk state and why writes fail until restart. Done means the data writes normally or the client receives a correct error without requiring a service restart.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.