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 issue with fstat after upload #1085

Merged
merged 1 commit into from
Oct 29, 2024
Merged

Fix issue with fstat after upload #1085

merged 1 commit into from
Oct 29, 2024

Conversation

passaro
Copy link
Contributor

@passaro passaro commented Oct 28, 2024

Description of change

As covered in #1044, Mountpoint would previously invalidate the inode for a file open for writing once it completed the upload, which resulted in calls to fstat to return ESTALE.

This change addresses the issue by updating the etag in the existing inode with the one returned from a successful upload.

Does this change impact existing behavior?

Fixes the issue in #1044.

Does this change need a changelog entry in any of the crates?

Added an entry in mountpoint-s3 changelog.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).

@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 09:27 — with GitHub Actions Inactive
@passaro passaro had a problem deploying to PR integration tests October 28, 2024 09:27 — with GitHub Actions Failure
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 10:49 — with GitHub Actions Inactive
Signed-off-by: Alessandro Passaro <alexpax@amazon.com>
Signed-off-by: Alessandro Passaro <alexpax@amazon.co.uk>
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro temporarily deployed to PR integration tests October 28, 2024 21:17 — with GitHub Actions Inactive
@passaro passaro marked this pull request as ready for review October 28, 2024 21:18
Copy link
Contributor

@dannycjones dannycjones left a comment

Choose a reason for hiding this comment

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

nice

@passaro passaro added this pull request to the merge queue Oct 29, 2024
Merged via the queue into awslabs:main with commit ed999df Oct 29, 2024
23 checks passed
@passaro passaro deleted the estale-fix branch October 29, 2024 10: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.

3 participants