Caideyipi commented on PR #17609: URL: https://github.com/apache/iotdb/pull/17609#issuecomment-6258683559
@hongzhi-gao Both issues are fixed in [1e1ffe04c8d](https://github.com/apache/iotdb/commit/1e1ffe04c8d035f46815ac91334a0d0183e9a913). 1. Append/force failure now rolls the WAL back to the saved pre-write offset and force-syncs that truncation. Cleanup failure disables further SimpleConsensus writes until restart. Regression coverage checks complete-record force failures, partial appends, preserved earlier records, and refusal of further writes when cleanup fails. 2. If rotation closes the writer but the atomic rename fails, it reopens the original log without advancing either index. `testRotationRenameFailureReopensOriginalLog` reproduces a real rename failure and verifies that the next write succeeds and both accepted plans can be replayed. A failed reopen explicitly disables further writes. Validation: full-reactor test compilation in English and Chinese; 12 focused tests passed in each locale; ConfigNode Spotless and Checkstyle passed; 431 locale keys and format placeholders match. -- 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]
