[Bug] insert missing same fields by java sdk

Open
#18,092 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
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
java
Domain
databases

Research direction

Start at org.apache.iotdb.session.pool.SessionPool.insertTablets(Map<String, Tablet> 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.

Description

Search before asking
  • I searched in the 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<String, Tablet> 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!
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.