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 file metadata fsync. #10571

Closed
wants to merge 3 commits into from
Closed

Conversation

jsirois
Copy link
Contributor

@jsirois jsirois commented Aug 7, 2020

Previously our materialize_directory tail end fsync could wipe out file
metadata if the os had already flushed the initial create. Thread
through the full create metadata to allow our tail end fsync to be
faithful.

Fixes #10507

[ci skip-build-wheels]

jsirois added 3 commits August 7, 2020 14:41
Previously our materialize_directory tail end fsync could wipe out file
metadata if the os had already flushed the initial create. Thread
through the full create metadata to allow our tail end fsync to be
faithful.

Fixes pantsbuild#10507

[ci skip-build-wheels]
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@jsirois jsirois closed this Aug 8, 2020
@jsirois jsirois deleted the issues/10507 branch August 8, 2020 16:35
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.

Text file busy when attempting to execute script written into sandbox
1 participant