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(transform): Remove Temporary Files from AWS S3 #205

Merged
merged 2 commits into from
Jul 17, 2024

Conversation

jshlbrd
Copy link
Collaborator

@jshlbrd jshlbrd commented Jul 16, 2024

Description

  • Fixes an instance where temporary files are not removed in the AWS S3 send transform

Motivation and Context

This was discovered while upgrading a large AWS S3 pipeline, over time files build up in the /tmp directory of the Lambda container and cause the application to crash. This only occurs if the size of all files is more than 500 MB, but the error is obvious:

{
    "errorMessage": "transform 119330de-398867f3: write /tmp/substation4083518264: no space left on device",
    "errorType": "errorString"
}

How Has This Been Tested?

Tested E2E in the production data pipeline mentioned above.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

@jshlbrd jshlbrd changed the title fix: Remove Temporary Files fix(transform): Remove Temporary Files from AWS S3 Jul 16, 2024
@jshlbrd jshlbrd marked this pull request as ready for review July 16, 2024 23:48
@jshlbrd jshlbrd requested a review from a team as a code owner July 16, 2024 23:48
@jshlbrd jshlbrd merged commit b52078d into main Jul 17, 2024
7 checks passed
@jshlbrd jshlbrd deleted the jshlbrd/fix/remove-files branch July 17, 2024 14:41
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