Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: stop backup temp file leakage #20531

Closed
wants to merge 1 commit into from

Conversation

alxric
Copy link

@alxric alxric commented Jan 18, 2021

Since this loop does not exist on success, snapshot operation is
executed three times regardless, and once succesful it only cleans up
after the last run, leaving temporary files from the previous 2 runs
behind, on top of creating unnecessary load on the system.

@alxric alxric force-pushed the alxric/1.8.3_temp_file_fix branch from 2a8ed15 to 1635062 Compare January 18, 2021 12:57
Since this loop does not exist on success, snapshot operation is
executed three times regardless, and once succesful it only cleans up
after the last run, leaving temporary files from the previous 2 runs
behind, on top of creating unnecessary load on the system.
@alxric alxric force-pushed the alxric/1.8.3_temp_file_fix branch from 1635062 to 8a58be1 Compare January 18, 2021 13:10
@alxric alxric changed the title tsm1: stop backup temp file leakage fix: stop backup temp file leakage Jan 18, 2021
@danxmoran
Copy link
Contributor

Hi @alxric, thanks for the submission! The git conflict here is caused by the merging of #20527, which we believe fixes the temp file leakage. Can you take a look at the patch there and let me know if you think there's any difference in end behavior between the two approaches?

@alxric
Copy link
Author

alxric commented Jan 19, 2021

Hi @alxric, thanks for the submission! The git conflict here is caused by the merging of #20527, which we believe fixes the temp file leakage. Can you take a look at the patch there and let me know if you think there's any difference in end behavior between the two approaches?

Ah I missed that PR. End result looks like it would be the same, so closing this. Thanks!

@alxric alxric closed this Jan 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants