Skip to content

Conversation

@THUMarkLau
Copy link
Contributor

See IOTDB-5897.

The reason for this bug is that when reading chunk that contains 0 points, the list will set the chunk metadata to null.

@HTHou HTHou changed the title [IOTDB-5897] Fix NullPointerException in compaction [To rel/1.1][IOTDB-5897] Fix NullPointerException in compaction May 18, 2023
Copy link
Contributor

@choubenson choubenson left a comment

Choose a reason for hiding this comment

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

LGTM. Add some tests that contain empty chunks and empty pages in the align timeseries.

@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 10 Code Smells

0.0% 0.0% Coverage
0.6% 0.6% Duplication

@xingtanzjr xingtanzjr merged commit a7168a7 into rel/1.1 May 18, 2023
@THUMarkLau THUMarkLau deleted the fix-compaction-null-pointer branch May 18, 2023 10:45
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.

3 participants