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

   ## Description
   
   This is a follow-up to #18330. Sonar reported 14 issues in the aligned 
memory accounting changes.
   
   This PR:
   - removes six redundant long casts and groups the overloaded memory-cost 
methods;
   - normalizes TvList naming in the reconciliation snapshot and helper;
   - documents and narrowly suppresses complexity in stateful write/scan hot 
paths, plus the tablet helper parameter count.
   
   These changes do not alter runtime behavior.
   
   ### Verification
   
   - AlignedTVListTest: 15 passed
   - TsFileProcessorTest: 20 passed
   - DataNode main and related test sources compiled
   - Checkstyle: 0 violations
   - Spotless and git diff --check: passed
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.
   - [x] added comments explaining the targeted Sonar suppressions.
   - [x] been covered by existing unit tests.


-- 
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