jt2594838 opened a new pull request, #18653: URL: https://github.com/apache/iotdb/pull/18653
## Problem A DataNode can remain read-only after disk recovery because WAL rotation may fail after the current channel is closed, leaving the buffer in a state that cannot progress to the next WAL file. ## Changes - Preserve WAL rotation progress and continue with the next file after a closed-channel failure. - Propagate channel/force failures so callers do not acknowledge an incomplete WAL write. - Require complete metadata persistence before considering a WAL file closed. - Add regression coverage for roll recovery and closed-channel behavior. ## Validation - WAL tests: 22 tests passed. - Maven build: SUCCESS. -- 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]
