[PR #2532] fix NoCacheLoadAndPost data corruption #2597

Open
opened 2026-03-04 02:06:21 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2532
Author: @VVoidV
Created: 9/28/2024
Status: 🔄 Open

Base: masterHead: fix-NoCacheUpload


📝 Commits (2)

  • cb4b736 fix NoCacheLoadAndPost data corruption
  • 1ddd713 fix deadlock in s3fs_release

📊 Changes

2 files changed (+40 additions, -2 deletions)

View changed files

📝 src/fdcache.cpp (+24 -2)
📝 src/fdcache_entity.cpp (+16 -0)

📄 Description

The size_orgmeta was not updated correctly in cases of insufficient cache, which resulted in the previously uploaded data not being loaded correctly when re-entering the NoCacheLoadAndPost process

Details

github.com/s3fs-fuse/s3fs-fuse@df5364d758/src/fdcache_entity.cpp (L1149-L1159)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/2532 **Author:** [@VVoidV](https://github.com/VVoidV) **Created:** 9/28/2024 **Status:** 🔄 Open **Base:** `master` ← **Head:** `fix-NoCacheUpload` --- ### 📝 Commits (2) - [`cb4b736`](https://github.com/s3fs-fuse/s3fs-fuse/commit/cb4b73640b5e5a249ba6a737692f172bc1c98072) fix NoCacheLoadAndPost data corruption - [`1ddd713`](https://github.com/s3fs-fuse/s3fs-fuse/commit/1ddd713514c6adb54641563d3ee9b1f07b718638) fix deadlock in s3fs_release ### 📊 Changes **2 files changed** (+40 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+24 -2) 📝 `src/fdcache_entity.cpp` (+16 -0) </details> ### 📄 Description The size_orgmeta was not updated correctly in cases of insufficient cache, which resulted in the previously uploaded data not being loaded correctly when re-entering the NoCacheLoadAndPost process <!-- -------------------------------------------------------------------------- Please describe the purpose of the pull request(such as resolving the issue) and what the fix/update is. --------------------------------------------------------------------------- --> ### Details <!-- Please describe the details of PullRequest. --> https://github.com/s3fs-fuse/s3fs-fuse/blob/df5364d7588ea5758706b928f6bd205191a92120/src/fdcache_entity.cpp#L1149-L1159 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2597
No description provided.