HTHou opened a new pull request, #17122: URL: https://github.com/apache/iotdb/pull/17122
This pull request introduces an additional test case to ensure correct deletion behavior after a failed insert, and improves the logic in the data region write path to avoid unnecessary file processor creation when all measurements in a row have failed. **Testing improvements:** * Added a new test `testDeleteDataAfterInsertFailed` in `IoTDBDeletionIT.java` to verify that data can be deleted successfully even after an insert operation fails due to invalid data, and to confirm that no residual data remains after the deletion. **Write path robustness:** * Updated `insertToTsFileProcessor` in `DataRegion.java` to immediately return `null` if all measurements in an `InsertRowNode` have failed, preventing unnecessary creation or retrieval of a `TsFileProcessor` in such cases. -- 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]
