[Bug] IndexOutOfBoundsException

Open
#18,032 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

Search before asking
  • I searched in the 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!
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 12h
Merged PRs (30d)
284

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from apache/iotdb

All issues in apache/iotdb

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.