TsFile对齐时间序列写入writeAligned(TSRecord record),当触发flushAllChunkGroups后加入新指标写入报错[Bug]
- 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
0.13.3
### Describe the bug and provide the minimal reproduce step
TsFile对齐时间序列写入writeAligned(TSRecord record),当触发flushAllChunkGroups后加入新指标写入报错。
我看到是有对时间序列的验证,为什么要加这个验证,如图

### What did you expect to see?
正常插入
### What did you see instead?

### Anything else?
_No response_
### Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
Contributor guide
Research direction
Start at the TsFile writeAligned(TSRecord record) entry point and inspect the time-series validation involved after flushAllChunkGroups. Reproduce the reported sequence by flushing all chunk groups, then adding a new measurement, and compare the resulting error with the expected normal insertion behavior.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100