iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

Fix folderManager NPE issue in WALNode when starting iotdb in a disk-full state

Open OneSizeFitsQuorum opened this issue 3 months ago • 2 comments

This PR addresses an NPE issue in WALNode creation that occurs when IoTDB starts with a full disk. When the disk is full at startup, the FolderManager initialization in the constructor fails, leaving it null. If disk space is later freed, subsequent WAL node creation attempts fail with NPE because the folderManager is still null.

img_v3_02sl_b85e7af0-2a08-4c97-b5d9-1f76ed4162dg

OneSizeFitsQuorum avatar Dec 04 '25 14:12 OneSizeFitsQuorum

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 39.05%. Comparing base (f4d628a) to head (f6b1b7d). :warning: Report is 25 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #16869      +/-   ##
============================================
+ Coverage     38.87%   39.05%   +0.17%     
  Complexity      207      207              
============================================
  Files          5021     5021              
  Lines        333052   333150      +98     
  Branches      42389    42390       +1     
============================================
+ Hits         129487   130119     +632     
+ Misses       203565   203031     -534     

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

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Dec 04 '25 16:12 codecov[bot]