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

   ## Description
   
   During peer recovery, rebuilding a peer can overlap server startup and 
dispatcher progress-index updates, leaving recovery notifications stale. This 
change coordinates peer reconstruction, startup, and watermark/index 
publication, and cleans up partially initialized server state when startup 
fails so a retry can rebuild consistently. Recovery regression tests cover the 
rebuilt-peer path.
   
   ## Validation
   
   - New unit tests: 12/12 passed.
   - Spotless passed.
   - 
`IoTDBConsensusSubscriptionRecoveryTableIT.testRebuiltConsumersResumeAfterFullClusterRestart`
 failed after restart: the test observed only the initial 16 rows and not the 
64 rows written before restart. The cause and relationship to this change are 
unconfirmed.


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