mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[PR #1773] [MERGED] Fixed forgetting to clear the dirty flag for meta information #2161
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#2161
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/1773
Author: @ggtakec
Created: 10/7/2021
Status: ✅ Merged
Merged: 10/15/2021
Merged by: @gaul
Base:
master← Head:fix_bug📝 Commits (1)
ace7c7fFixed forgetting to clear the dirty flag for meta information📊 Changes
6 files changed (+18 additions, -11 deletions)
View changed files
📝
src/curl.cpp(+4 -4)📝
src/curl.h(+4 -4)📝
src/fdcache_entity.cpp(+6 -1)📝
src/fdcache_entity.h(+1 -1)📝
src/fdcache_page.cpp(+1 -1)📝
src/s3fs_xml.cpp(+2 -0)📄 Description
Relevant Issue (if applicable)
n/a
Details
In the case where the dirty flag was set for the meta information, there was a case where this flag was not reset.
If s3fs started a file upload(containing a multipart upload) when flushed, this flag could not be reset.
Also, a new error was reported in cppcheck, so I fixed it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.