jt2594838 opened a new pull request, #18287:
URL: https://github.com/apache/iotdb/pull/18287

   ## Description
   
   ### Null value statistics
   
   - Count valid and null values for row, aligned-row, tablet, and 
aligned-tablet writes.
   - Exclude failed measurements and keep the statistics in memory only without 
WAL serialization.
   - Aggregate the counts across MemTables written to the same TsFile.
   
   ### Flush logging and monitoring
   
   - Log the aggregated null value ratio in 
TsFileProcessor.updateCompressionRatio.
   - Add the flushing_mem_table_status histogram with name=null_value_ratio and 
the DataRegion dimension.
   - Record ratio times 100, consistent with the existing compression ratio 
metric.
   
   ### Tests
   
   - Extended AbstractMemTablePartialInsertTest to cover all four write paths, 
including failed measurements and zero-value boundaries.
   - Added scenario, key-input, and expected-result documentation to the test 
methods.
   - mvn -pl iotdb-core/datanode -DskipTests spotless:check compile
   - AbstractMemTablePartialInsertTest: 14 tests passed
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added comments explaining the intent of the tests.
   - [x] added or updated unit tests to cover the new code paths.
   
   ##### Key changed/added classes
   
   - AbstractMemTable and IMemTable
   - TsFileProcessor
   - WritingMetrics
   - AbstractMemTablePartialInsertTest


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to