mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #1689] [MERGED] Fixed a bug utimens is calling before flush #2116
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#2116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1689
Author: @ggtakec
Created: 6/20/2021
Status: ✅ Merged
Merged: 6/21/2021
Merged by: @gaul
Base:
master← Head:fix_utimens_during_mp📝 Commits (2)
da43467Fixed a bug utimens is calling before flush98d8679Added test case for utimens is calling during multipart upload📊 Changes
2 files changed (+16 additions, -1 deletions)
View changed files
📝
src/fdcache_entity.cpp(+1 -1)📝
test/integration-test-main.sh(+15 -0)📄 Description
Relevant Issue (if applicable)
#1685
Details
In the case where utimens was called before flush after updating the file was called, it was wrong to determine that it was being updated.
(It seems to have existed for a long time, but it may have become apparent with the modification of #1666.)
There was a file fix that required the meta data to be updated, and I was getting an error because I was doing an upload with utimens before uploading that meta information.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.