-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove the logic of memtable flush controlled by memory series size #13653
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #13653 +/- ##
============================================
+ Coverage 39.79% 39.84% +0.05%
Complexity 71 71
============================================
Files 4159 4159
Lines 263425 263409 -16
Branches 32083 32085 +2
============================================
+ Hits 104818 104963 +145
+ Misses 158607 158446 -161 ☔ View full report in Codecov by Sentry. |
...main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java
Outdated
Show resolved
Hide resolved
...main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java
Outdated
Show resolved
Hide resolved
...main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/AlignedWritableMemChunk.java
Outdated
Show resolved
Hide resolved
...e/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/IWritableMemChunk.java
Outdated
Show resolved
Hide resolved
...ode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/TsFileProcessor.java
Outdated
Show resolved
Hide resolved
...de/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/WritableMemChunk.java
Outdated
Show resolved
Hide resolved
...de/src/main/java/org/apache/iotdb/db/storageengine/dataregion/memtable/WritableMemChunk.java
Outdated
Show resolved
Hide resolved
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/utils/datastructure/AlignedTVList.java
Outdated
Show resolved
Hide resolved
@@ -58,7 +58,7 @@ public class AlignedWritableMemChunk implements IWritableMemChunk { | |||
|
|||
private static final IoTDBConfig CONFIG = IoTDBDescriptor.getInstance().getConfig(); | |||
private final long TARGET_CHUNK_SIZE = CONFIG.getTargetChunkSize(); | |||
private final long MAX_NUMBER_OF_POINTS_IN_CHUNK = CONFIG.getAvgSeriesPointNumberThreshold(); | |||
private long MAX_NUMBER_OF_POINTS_IN_CHUNK = CONFIG.getTargetChunkPointNum(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that it is not final, its capitalization would better be changed.
Quality Gate passedIssues Measures |
Description
In this PR, if the row number of a memory chunk exceeded the
avgSeriesPointNumberThreshold
, or the size of a binary type memory chunk exceeded thetargetChunkSize
, this memory chunk will split to multiple disk chunks in the TsFile.