dave-csc opened a new issue, #4558: URL: https://github.com/apache/hop/issues/4558
### Apache Hop version? 2.10.0 ### Java version? 17.0.2 ### Operating system Linux ### What happened? This might be a very specific scenario, but I'll file it as a bug anyway. I set up a Text file output transform inside a "mappable" transform, with the purpose of creating a structured log file for what happens in the "mapping" transform. In short, the mapping transform generates the data needed in the log, and then pass those to the sub-pipeline to write them in the log. Hence, the Text file output is set to always write on the same file in "append" mode. It happens that the parent transform calls the "logger" in multiple places, and sometimes their writes are mixed up in the resulting files, for example: ``` 1596213;2023;30833201;E;DOE;JOHN;0;1596238;2023;30835173;S;MOE;JANE;1;Data correctly sent - HTTP status: 200 - Server response: true +++ Invalid data provided ``` whereas the expected output should be: ``` 1596213;2023;30833201;E;DOE;JOHN;0;+++ Invalid data provided 1596238;2023;30835173;S;MOE;JANE;1;Data correctly sent - HTTP status: 200 - Server response: true ``` I could probably mitigate this with some Blocking transforms here and there, but probably a better option would be checking if the file is already in use before writing (and then wait for its release before actually writing). ### Issue Priority Priority: 3 ### Issue Component Component: Pipelines, Component: Transforms -- 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]
