Skip to content

Conversation

@Caideyipi
Copy link
Collaborator

Description

As the title said.


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

@codecov
Copy link

codecov bot commented Jan 21, 2026

Codecov Report

❌ Patch coverage is 63.82979% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 39.26%. Comparing base (36dadf5) to head (e19c3f0).
⚠️ Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...le/parser/scan/TsFileInsertionEventScanParser.java 62.79% 16 Missing ⚠️
...mon/tablet/PipeInsertNodeTabletInsertionEvent.java 75.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #17055      +/-   ##
============================================
+ Coverage     39.24%   39.26%   +0.01%     
  Complexity      282      282              
============================================
  Files          5105     5105              
  Lines        341457   341446      -11     
  Branches      43517    43517              
============================================
+ Hits         134015   134067      +52     
+ Misses       207442   207379      -63     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment on lines 632 to 640
if (!isAligned) {
if ((chunkHeader.getChunkType() & TsFileConstant.TIME_COLUMN_MASK)
== TsFileConstant.TIME_COLUMN_MASK) {
timeChunkList.add(
new Chunk(chunkHeader, tsFileSequenceReader.readChunk(-1, chunkHeader.getDataSize())));
isMultiPageList.add(marker == MetaMarker.TIME_CHUNK_HEADER);
return true;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is weird, nonaligned chunk should not have time column.

@Caideyipi Caideyipi changed the title Pipe: Fixed the missing privilege check of aligned series in tsFile scan parser Pipe: Fixed the missing privilege check of aligned series in tsFile scan parser & Fixed the missed parsing of insertNode privilege Jan 22, 2026
@sonarqubecloud
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants