Skip to content

Conversation

@dylanlanigansmith
Copy link
Contributor

Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

@dylanlanigansmith dylanlanigansmith force-pushed the dylanlanigansmith-fix-mknodFromTar-writing-empty-files branch from 01fa7c6 to a6d6a5d Compare October 17, 2025 12:31
Copy link
Collaborator

@ayushr2 ayushr2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution and for also adding tests!

Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.
@dylanlanigansmith dylanlanigansmith force-pushed the dylanlanigansmith-fix-mknodFromTar-writing-empty-files branch from a6d6a5d to 63b807f Compare October 17, 2025 18:16
copybara-service bot pushed a commit that referenced this pull request Oct 17, 2025
Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12229 from dylanlanigansmith:dylanlanigansmith-fix-mknodFromTar-writing-empty-files 63b807f
PiperOrigin-RevId: 820766211
copybara-service bot pushed a commit that referenced this pull request Oct 17, 2025
Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12229 from dylanlanigansmith:dylanlanigansmith-fix-mknodFromTar-writing-empty-files 63b807f
PiperOrigin-RevId: 820766211
copybara-service bot pushed a commit that referenced this pull request Oct 17, 2025
Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12229 from dylanlanigansmith:dylanlanigansmith-fix-mknodFromTar-writing-empty-files 63b807f
PiperOrigin-RevId: 820766211
copybara-service bot pushed a commit that referenced this pull request Oct 17, 2025
Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12229 from dylanlanigansmith:dylanlanigansmith-fix-mknodFromTar-writing-empty-files 63b807f
PiperOrigin-RevId: 820766211
copybara-service bot pushed a commit that referenced this pull request Oct 17, 2025
Added size check to prevent sentry tmpfs mknodFromTar from trying to write empty files, this caused running containers from a snapshot from upper tar to fail when empty files were in the archive.

Fixes #12228

FUTURE_COPYBARA_INTEGRATE_REVIEW=#12229 from dylanlanigansmith:dylanlanigansmith-fix-mknodFromTar-writing-empty-files 63b807f
PiperOrigin-RevId: 820766211
@copybara-service copybara-service bot merged commit 0828602 into google:master Oct 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"failed to write file content: out of memory" when trying new tar file snapshot feature

2 participants