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

   ## Description
   
   Backport #18311 (`cb6a309521dc274dfa79dd1a5720851dac2670ad`) to `dev/1.3`.
   
   - Reject missing SchemaRegion state machines instead of surfacing an NPE.
   - Emit schema recovery and DataNode startup success logs only after Region 
Consensus starts successfully.
   - Clarify that the earlier DataRegion recovery logs describe local loading 
only.
   - Propagate asynchronous Region recovery failures to the startup caller.
   
   `dev/1.3` still uses the pre-rename `PipeConsensus` implementation, so the 
IoTConsensusV2 recovery changes are adapted there. This branch also needs to 
wait for the asynchronous recovery future before `start()` returns to provide 
the same startup-success guarantee.
   
   ## Verification
   
   - `mvn spotless:apply -pl iotdb-core/datanode,iotdb-core/consensus`
   - `mvn -pl iotdb-core/consensus -Dtest=PipeConsensusTest test`
   - `mvn compile -pl iotdb-core/datanode`
   
   <hr>
   
   This PR has:
   - [x] been self-reviewed.


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