iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

Fixed restart error when DataRegion is RatisConsensus

Open OneSizeFitsQuorum opened this issue 1 year ago • 1 comments

When Region migration related work (#12293) was introduced, DataRegionConsensusImpl may be generated to try to restore the state machine when it is uninitialized. This may cause a restart error when the dataregion is ratis

image

OneSizeFitsQuorum avatar May 20 '24 08:05 OneSizeFitsQuorum

Codecov Report

Attention: Patch coverage is 76.05634% with 17 lines in your changes are missing coverage. Please review.

Project coverage is 43.39%. Comparing base (b030642) to head (82a00fa). Report is 3 commits behind head on master.

Files Patch % Lines
...g/apache/iotdb/consensus/ratis/RatisConsensus.java 75.55% 11 Missing :warning:
...org/apache/iotdb/consensus/ratis/DiskGuardian.java 86.95% 3 Missing :warning:
...confignode/manager/consensus/ConsensusManager.java 0.00% 2 Missing :warning:
...apache/iotdb/confignode/manager/ConfigManager.java 0.00% 1 Missing :warning:
Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12554      +/-   ##
============================================
- Coverage     43.47%   43.39%   -0.08%     
  Complexity       69       69              
============================================
  Files          3128     3140      +12     
  Lines        194440   195077     +637     
  Branches      23182    23239      +57     
============================================
+ Hits          84524    84653     +129     
- Misses       109916   110424     +508     

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

codecov[bot] avatar May 21 '24 05:05 codecov[bot]

Quality Gate Failed Quality Gate failed

Failed conditions
0.0% Coverage on New Code (required ≥ 80%)

See analysis details on SonarCloud

sonarqubecloud[bot] avatar May 21 '24 11:05 sonarqubecloud[bot]