apache / apache/iotdb

[Bug] insert missing same fields by java sdk

Open
#18,092 0 comments 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

OS: centos 7
IotDB: 1.3.2, cluster has 3 nodes

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

设备下原本有7个点位,插入时带了10个点位,原有的点位插入成功,新的点位没有创建,也就是有各级点位没插入。
使用的api是org.apache.iotdb.session.pool.SessionPool.insertTablets(Map tablets),sdk版本是1.3.1。
删除设备级的时间序列后,就能插入正常。
原先的时间序列:

Image

手动删除后再次插入的时间序列:

Image

### What did you expect to see?

不手动删除时间序列,也能正常插入所有的字段

### What did you see instead?

none

### Anything else?

_No response_

### Are you willing to submit a PR?

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

Contributor guide

Open the contributing guide

Research direction

Start at org.apache.iotdb.session.pool.SessionPool.insertTablets(Map tablets) and reproduce the report with IoTDB 1.3.2, SDK 1.3.1, and a three-node cluster. Compare insertion when existing device time series are present versus after they are deleted. Done means all ten fields, including newly introduced fields, are created and inserted without manual deletion.

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
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.