Rajeev-01 opened a new pull request, #13473: URL: https://github.com/apache/hudi/pull/13473
### Change Logs - Making the creation of properties file atomic during the modification. - This is required since if the create calls fails with Unexpected exception which will create the empty file. - This empty file creation and next modify call will delete the backup file which has correct configs and both backup file and actual file becomes empty and this PR addresses this issue. ### Impact - This will make sure that either properties file or properties.backup file will be present with the correct properties. - Even if we face the above mentioned issue this time the temp file will get affected. - The left over temp file will get overwritten by the next modify call and make sure that properties won't be lost. ### Testing - Existing UT have to pass which is already testing the multiple writers trying to modify the properties. ### Documentation Update none -- 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]
