apache / apache/iotdb

TsFile对齐时间序列写入writeAligned(TSRecord record),当触发flushAllChunkGroups后加入新指标写入报错[Bug]

未关闭
#8,315 0 条评论 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

0.13.3

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

TsFile对齐时间序列写入writeAligned(TSRecord record),当触发flushAllChunkGroups后加入新指标写入报错。
我看到是有对时间序列的验证,为什么要加这个验证,如图
![image](https://user-images.githubusercontent.com/52025735/205428277-e3d0ac92-11fe-4a38-ba4f-a024c39199da.png)

### What did you expect to see?

正常插入

### What did you see instead?

![image](https://user-images.githubusercontent.com/52025735/205428235-9226d46a-838a-47d4-a6b1-fa1965769974.png)

### Anything else?

_No response_

### Are you willing to submit a PR?

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

贡献指南

打开贡献指南

调研方向

从 TsFile writeAligned(TSRecord record) 入口点开始,检查 flushAllChunkGroups 之后涉及的时间序列验证。通过刷新所有 chunk group、随后添加一个新的 measurement,并将产生的错误与预期的正常插入行为进行比较,重现报告中的操作序列。

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

评估

技术栈
java
领域
databases
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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