iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

Remove the logic of memtable flush controlled by memory series size

Open HTHou opened this issue 1 year ago • 2 comments

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 the targetChunkSize, this memory chunk will split to multiple disk chunks in the TsFile.

HTHou avatar Sep 29 '24 02:09 HTHou

Codecov Report

Attention: Patch coverage is 81.62162% with 34 lines in your changes missing coverage. Please review.

Project coverage is 39.47%. Comparing base (fd721d6) to head (f016492). Report is 7 commits behind head on master.

Files with missing lines Patch % Lines
...e/dataregion/memtable/AlignedWritableMemChunk.java 83.52% 14 Missing :warning:
...geengine/dataregion/memtable/WritableMemChunk.java 82.14% 10 Missing :warning:
...he/iotdb/db/utils/datastructure/AlignedTVList.java 69.56% 7 Missing :warning:
...ageengine/dataregion/memtable/TsFileProcessor.java 66.66% 2 Missing :warning:
...pache/iotdb/db/service/metrics/WritingMetrics.java 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #13653      +/-   ##
============================================
+ Coverage     39.41%   39.47%   +0.06%     
  Complexity      193      193              
============================================
  Files          4342     4342              
  Lines        275482   275504      +22     
  Branches      33637    33644       +7     
============================================
+ Hits         108580   108763     +183     
+ Misses       166902   166741     -161     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Sep 29 '24 03:09 codecov[bot]

moved to https://github.com/apache/iotdb/pull/14591

HTHou avatar Dec 30 '24 09:12 HTHou