mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 05:16:00 +03:00
[PR #2582] [MERGED] Fixed a bug when changing fdentity to a temporary path #2642
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#2642
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/2582
Author: @ggtakec
Created: 10/30/2024
Status: ✅ Merged
Merged: 5/21/2025
Merged by: @gaul
Base:
master← Head:fix/change_fentity_map📝 Commits (1)
9639c84Fixed a bug when changing fdentity to a temporary path📊 Changes
1 file changed (+17 additions, -0 deletions)
View changed files
📝
src/fdcache.cpp(+17 -0)📄 Description
Relevant Issue (if applicable)
#2532
Details
If the path element does not exist in fent, it may be because a cache directory has not been specified, or FdEntity::NoCacheLoadAndPost has already been called.
In these cases, the path element(=ent) has already been registered as a TempPath element from fent, so there is no need to register ent in the except_fent map.
(Processing with UpdateEntityToTempPath should not be performed.)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
std::map::operator[]#2684